Maan Jee wrote:
Hello,

I have installed Apache HTTP Server 2.20 and PHP 5. But when I want to open index.php file in the browser instead of getting the Output Html page, I get
SAVE "index.php" file popup.

What is the wrong, I have added these lines in httpd.conf
AddType application/x- httpd-php . php
AddType application/x- httpd-php-source . phps

Thanks

vj
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"



Hi,

You need to add index.php to the DirectoryIndex line
in /usr/local/etc/apache22/httpd.conf
It should look like

DirectoryIndex index.html index.php

Hope this helps.

Sincerely,

Duane Whitty
--
[EMAIL PROTECTED]
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to