Re: PHP not working
- From: Jonathan Horne <jhorne@xxxxxxxxx>
- Date: Sun, 14 May 2006 09:09:26 -0500
On Sunday 14 May 2006 03:32, Pablo Mora wrote:
On 5/14/06, Maan Jee <maanjee@xxxxxxxxx> 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.
i would back up one step, and make sure that you have the
file /usr/local/libexec/apache/libphp5.so. currently as of port version
php5-5.1.4, this required component does not automatically compile.
also after that, make sure that you added index.php to the DirectoryIndex
line.
jonathan
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- References:
- PHP not working
- From: Maan Jee
- Re: PHP not working
- From: Pablo Mora
- PHP not working
- Prev by Date: RE: Has the port collection become to large to handle.
- Next by Date: Re: New FreeBSD Logo
- Previous by thread: Re: PHP not working
- Next by thread: make for KDE 3.5.2 fails (6.1-Stable)
- Index(es):
Relevant Pages
|
|