On Thursday 13 September 2001 13:25, you wrote:
On Thursday 13 September 2001 10:02, Theo. Sean Schulze wrote:
[snip]
Sounds like Apache is not set-up for php. Check that it is installed, and then look in your httpd.conf file for something like
<IfModule mod_php4.c> AddType application/xhttpd-php .php AddType application/xhttpd-php .php4 </IfModule>
and make sure it is uncommented. This will tell apache what files with php extensions are.
These uncommented lines are in my /etc/httpd/httpd.conf file: # # AddType allows you to tweak mime.types without actually editing it, or to # make certain files to be certain types. # # For example, the PHP 3.x module (not part of the Apache distribution - see # http://www.php.net) will typically use: # <IfModule mod_php3.c> AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps AddType application/x-httpd-php3 .phtml </IfModule> # # And for PHP 4.x, use: # <IfModule mod_php4.c> AddType application/x-httpd-php .php AddType application/x-httpd-php .php4 AddType application/x-httpd-php-source .phps </IfModule> So, it shouldn't matter whether apache gets *.php or *.php4, it should still run use mod_php4.c. It is beginning to look to me like php is misbehaving. Or, am I reading this wrong? Cheers, Sean -- Theo. Sean Schulze theo.schulze@myokay.net "[T]he key to maintaining leadership in the economy and the technology that are about to emerge is likely to be the social position of knowledge professionals and social acceptance of their values." -- Peter Drucker