PHP not working

Pablo Mora bidjan at gmail.com
Sun May 14 01:32:42 PDT 2006


On 5/14/06, Maan Jee <maanjee at gmail.com> 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
>

Once modified the httpd.conf file you must restart apache. As root:
apachectl restart

don't forget add enable_apache2="YES" to /etc/rc.conf

regards.

-- 
Linux is for people who hate Micro$oft. BSD is for people who love Unix ...


More information about the freebsd-questions mailing list