[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] PHP not working???



On Fri, Jul 12, 2002 at 09:18:32AM -0400, Jason Gottschalk wrote:

> Rebooted, no go.  Where is this addtype thing?

httpd.conf, the main configuration file for Apache, usually contains a
directive that tells it that "all files with .php extension are of
this type".

For example, the line may look like:

AddType application/x-httpd-php .php

grep for 'AddType' in your httpd.conf and see what comes up. Also,
check the httpd_error.log file and see what the server signature
contains. Perhaps PHP didn't quite install correctly.

Also, have a look for lines that look vaugely like:

LoadModule php4_module        libexec/apache/libphp4.so

[ ... ]

AddModule mod_php4.c

   - andrew

-- 
| Andrew Reid [mailto:andrew.reid@xxxxxxx]
| Network Wrangler, Bit Herder
| C: +61-401-946-813  F: +61-8-8379-1093
| Finger andrew@xxxxxxxxxxxxxxxx for PGP Public Key