PHP install problem: LoadModule does not work in httpd.conf
Posted: Wed Mar 26, 2003 1:26 pm
Hi everyone
I'm installing PHP for the first time on a linux box and I've run into some problems. I basically followed the directions on http://cvs.php.net/co.php/php4/INSTALL and I'm almost at the end the install process but now i've run into problems.
the php install adds a line in the httpd.conf file on line 173:
LoadModule php4_module module/libphp4.so
when I restart apache using httpd restart, I get a error when it comes to this line:
Syntax error on line 173 of /etc/httpd/conf/httpd.conf:
Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration
whats wrong? there are other uncommented LoadModules calls in the httpd.conf file and they all work fine. just that new line gives it problems.
I recently had to take over duties on this linux box so I can't say much about what else is installed on the system. all i know is that its running linux 6.x and some version of apache. apache does run fine if I use the old httpd.conf
any ideas? help is greatly appreciated
I'm installing PHP for the first time on a linux box and I've run into some problems. I basically followed the directions on http://cvs.php.net/co.php/php4/INSTALL and I'm almost at the end the install process but now i've run into problems.
the php install adds a line in the httpd.conf file on line 173:
LoadModule php4_module module/libphp4.so
when I restart apache using httpd restart, I get a error when it comes to this line:
Syntax error on line 173 of /etc/httpd/conf/httpd.conf:
Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration
whats wrong? there are other uncommented LoadModules calls in the httpd.conf file and they all work fine. just that new line gives it problems.
I recently had to take over duties on this linux box so I can't say much about what else is installed on the system. all i know is that its running linux 6.x and some version of apache. apache does run fine if I use the old httpd.conf
any ideas? help is greatly appreciated