PHP4b3 & Apache 1.3.11 on Linux - getting download of .php!
| From: | David McMahon | Date: | Mon, 07 Feb 2000 00:44:56 +0000 |
| Subject: | PHP4b3 & Apache 1.3.11 on Linux - getting download of .php! | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-9884@lists.php.net to get a copy of this message | ||
Hi,
This has got to be one of the most common problems
and I'll probably slap myself when I found out, but...
Everything looks fine as far as I can tell.
I just configured/made/installed this on
Linux Slackware 2.2.10:
1. Fresh compile of apache 1.3.11 and PHP4.b3
2. httpd -l
Compiled-in modules:
<other modules snipped>
mod_php4.c
3. /usr/local/lib/php.ini (the default)
4. In my httpd.conf:
AddType application/x-httpd-php .php
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php-source .phps
** I confirmed the use of this file by putting
a syntax error in at the first
AddType line you see above and apachectl configtest found it
5. Restarted Apache countless times
Problem: .php files are asking to be downloaded on the browser side.
The server does not appear to be processing the .php's. Everything
looks right here. What am I doing wrong?
thanks for reading -
dave
==============================================
David McMahon Ph: 617.746.9545
mailto:djm@toolix.com Fax: 617.746.9549
TooliX, Inc. http://www.toolix.com
==============================================