I just installed apache 1.3.24 with php 4.2.1 compiled in on a FreeBSD
4.5 machine. mod_php4.c *does* show up with httpd -l
In my httpd.conf:
<IfModule mod_php4.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .phpt
</IfModule>
The problem:
The server will only process some php files correctly. For others I get
a download box even though it says the file to download is of type
x-httpd-php
Most of the files in the php-4.2.1/tests directory seem to work through
apache (they all seem to work from the php command-line), but others,
like run.php, it tries to send as a download.
Has anyone seen this before?