Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 May 2006 04:32:40 -0400
From:      "Pablo Mora" <bidjan@gmail.com>
To:        "Maan Jee" <maanjee@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PHP not working
Message-ID:  <cf841d6b0605140132i579b7efrdeb00463b91f5727@mail.gmail.com>
In-Reply-To: <2cd0a0da0605140042m1e89c38bw1f0c33ddb44569a8@mail.gmail.com>
References:  <2cd0a0da0605140042m1e89c38bw1f0c33ddb44569a8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/14/06, Maan Jee <maanjee@gmail.com> wrote:
> Hello,
>
> I have installed Apache HTTP Server 2.20 and PHP 5. But when I want to op=
en
> 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=3D"YES" to /etc/rc.conf

regards.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cf841d6b0605140132i579b7efrdeb00463b91f5727>