Re: PHP install on to Apache problem.

From: Date: Fri, 22 Jun 2001 16:42:47 +0000
Subject: Re: PHP install on to Apache problem.
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-3313@lists.php.net to get a copy of this message
Do not use 'apachectl restart' use 'apachectl stop ; apachectl start' instead. --Jani On Thu, 21 Jun 2001, Srimoungchanh, Kou wrote: >Hello all, > >I tried to install Mysql, which installed fine. Then I tried to install >PHP4, but when I tried to restart the apache server, it fails. > >I am running ROCK Linux 1.2 >Webmin 0.84 > >here is the command I used during my PHP4 install: > >I downloaded "mysql-3.23.39-pc-linux-gnu-i686.tar.gz >"this seem to install and start fine" > >Then I downloaded "php-4.0.5.tar.gz" and copied to /usr/local/src then >extracted in /usr/local/src/php-4.0.5 > >the I "cd apache_1.3.12" >1. ./configure --prefix=/www >2. cd ../php-4.0.5 >3. ./configure --with-mysql --with-apache=../apache_1.3.x >--enable-track-vars >4. make >5. make install >6. cd ../apache_1.3.12 >7. ./configure --activate-module=src/modules/php4/libphp4.a >8. make >9. make install >10. cd ../php-4.0.5 >11. cp php.ini-dist /usr/local/lib/php.ini >12. Edited the httpd.conf add the "AddType application/x-httpd-php .php" >line. >13. ./apache1 restart "here is where it errors" > >Here is the error I get when I run "./apachect1 restart" >"Failed to apply changes : /usr/local/apache/bin/apachectl restart: >configuration broken, ignoring restart /usr/local/apache/bin/apachectl >restart: (run 'apachectl configtest' for details)" >when I do a "./apachect1 configtest" here is what I get: >"Syntax error on line 206 of /usr/local/apache/conf/httpd.conf: >Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not >included in the server configuration." >What can I do? >Thanks for you help. > > >Kou Srimoungchanh >Senior Network System Engineer >UUNET, A WorldCom Company >913.339.4656 >888-936-9961 >************************************************* >This communication contains information that is confidential and may also be >privileged. It is or the exclusive use of the intended recipient(s). If you >are not the intended recipient(s), please note that any distribution, >copying or use of this communication or the information in it is strictly >prohibited. If you have received this communication in error, please notify >the sender immediately and then destroy any copies of it. >************************************************* > > >

« previous php.install (#3313) next »