Re: Browser tries to download php file
| From: | Keith Roberts | Date: | Tue, 30 Jun 2009 16:53:42 +0000 |
| Subject: | Re: Browser tries to download php file | ||
| References: | 1 2 3 4 5 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-19684@lists.php.net to get a copy of this message | ||
On Tue, 30 Jun 2009, Juan Mas wrote:
To: Keith Roberts <keith@karsites.net> From: Juan Mas <juan.mas@gmail.com> Subject: Re: [PHP-INSTALL] Browser tries to download php file The httpd.conf file is in /usr/local/apache/conf Im using Apache 1.3 because that's what I had loaded on this originally with mod_perl.. I was most familiar with setting up Apache 1.3/mod_perl with the helpdesk application we use here. So I was making it easier on myself.. Or so I thought. The apache logs are showing on startup: Apache/1.3.41 (Unix) PHP/5.2.5 mod_perl/1.30 configured -- resuming normal operations The httpd -l (Im typing out full path to /usr/local/apache/bin/httpd) is showing the two modules loaded: /usr/local/apache/bin/httpd -l Compiled-in modules: ... mod_perl.c mod_php5.c And my httpd.conf file (/usr/local/apache/conf) has these entries under mod_mime:Are you sure there is not another version of Apache running on your machine that's not configured properly? - ie something that is installed by default with Gentoo Linux and not setup to process php documents? Regards, KeithAddType application/x-httpd-php .php AddType application/x-httpd-php-source .phpsAddHandler application/x-httpd-php .phpBut still. My browser still tries to download the php file when I try to view it. I just tried re-compiling PHP just in case... No change. Im at a total loss! Let me know if there's any other info I can give.