Apache asks to save php file?
| From: | Skip Evans | Date: | Tue, 06 Feb 2007 23:15:58 +0000 |
| Subject: | Apache asks to save php file? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-248456@lists.php.net to get a copy of this message | ||
Hey all,
Just did a new install on FreeBSD 6.0 of Apache 2, PHP4 and MySQL, but the browser asks to save a PHP file rather than execute it. I do have the following in httpd.conf, however.
LoadModule php4_module libexec/apache2/libphp4.so
DirectoryIndex index.php index.html index.htm index.html.var
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Now I'm wondering if somehow PHP4 got compiled without the Apache module selected?
Does that sound accurate? I did check it off when the compile began however.
--
Skip Evans
Big Sky Penguin, LLC
61 W Broadway
Butte, Montana 59701
406-782-2240
http://bigskypenguin.com
=-=-=-=-=-=-=-=-=-=
Check out PHPenguin, a lightweight and
versatile PHP/MySQL development framework.
http://phpenguin.bigskypenguin.com/