Re: Apache asks to save php file?

From: Date: Tue, 06 Feb 2007 23:42:03 +0000
Subject: Re: Apache asks to save php file?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-248458@lists.php.net to get a copy of this message
Nothing in the log file. Did restart the web server, and yes, I'm compiling this myself. The log file is actually not being touched. I think it failed to compile the apache module on the last attempt (it stopped before because I was not subscribed to a paypal module I tried to include), so I need to somehow get back to where it will ask me to compile the Apache module, but doing make deinstall clean does not do it. Skip Robert Cummings wrote:
On Tue, 2007-02-06 at 16:15 -0700, Skip Evans wrote:
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.
Anything in your apache logs? Did you restart the webserver? Did you compile yourself? Cheers, Rob.
-- 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/

« previous php.general (#248458) next »