Last stage of install... One hurdle left...
| From: | merana | Date: | Sun, 30 Sep 2001 01:21:38 +0000 |
| Subject: | Last stage of install... One hurdle left... | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4451@lists.php.net to get a copy of this message | ||
Ok,
I did the search thing in the Archives but all I found were some close variations but no sure match...
Here goes the problem description:
I am on a fresh install of RedHat SeaWolf. I D/L'd the latest distro of Apache (1.3.20) and have in untar'ed in a directory (/home/apache_1.3.20). I also have the latest distro of PHP from PHP.net in a directory (/home/php.4.0.6).
I am following the instructions from the Site version of the Manual on "Deatils on installing PHP with Apache on Unix".
Everything went as described until I make a change in httpd.conf on line 205 where it does the LoadModule. Nope I am not getting the garbled error. I am getting the:
"Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration"
error...
The line in httpd.conf looks like this:
"LoadModule php4_module libexec/libphp4.so"
I verified that the file is actually in ht elibexec directory. Timestamps seem right too.
My config flags were:
Stage 1. Initial .Config of apache
./configure --prefix=/www \
--enable-module=so \
--enable-module=rewrite \
--enable-shared=rewrite
Stage 2. Initial Config of PHP
./configure --with-mysql \
--with-apache=../apache_1.3.20 \
--enable-track-varsmake
Stage 3. After the make and make install of PHP
./configure --activate-module=src/modules/php4/libphp4.a
This is then followed by the make and make install of apache.
I checked the httpd.conf file and the AddTypes are there but when I try to uncomment the LoadModule line I get that error.
Am I having path issues?
Thanks in advance...
Please cc: via e-mail
Michael
merana67@hotmail.com