TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
php4 woes
I've been trying to install php4 for the past 2 hours or so and I cannot get
it to play nice with apache. I am able to "configure" and "make" just fine.
Once that is done, the documentation says to add the following lines to the
/etc/httpd/conf/httpd.conf file:
LoadModule php4_module modules/libphp4.so
AddModule mod_php4.c
ScriptAlias /php3/"/path-to-php-dir/" AddType application/x-httpd-php3 .php3
Action application/x-httpd-php3"/php3/php"
When I try to start httpd it fails with the error:
Invalid command 'application/x-httpd-php4', perhaps mis-spelled or defined by
a module not included in the server configuration
Sure enough if I execute a listing of the ../application directory, the x-httpd-phpX
file is nowhere to be seen. I have ran the configure\make scripts multiple
time with different options and still haven't been able to start httpd with
php. Has anyone ever seen this problem?