Re: Red Hat 8 Apache problem - stumped :-(

From: Date: Mon, 02 Dec 2002 18:56:48 +0000
Subject: Re: Red Hat 8 Apache problem - stumped :-(
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-126751@lists.php.net to get a copy of this message
Your best bet is to get rid of Apache 2.0 and install an Apache 1.3.x RPM instead. -Rasmus On 2 Dec 2002, Lee P. Reilly wrote: > Hi there, > > This might be better suited for an Apache newsgroup, but I thought I'd > try here first. I installed Apache and PHP on RH8 a few weeks ago > following the instructions on [URL 1, below], and both were running with > absolutely no problems. Today however, I rebooted my machine and > http://localhost gave me a "connection was refused when > trying to > contact localhost". Also, Apache would not restart: > -------------------------------------------------- > Syntax error on line 52 of /www/conf/httpd.conf: > Invalid command 'ServerType', perhaps mis-spelled or defined by a module > not included in the server configuration > -------------------------------------------------- > > On removing the ServerType statement, I get: > -------------------------------------------------- > [root@localhost conf]# /usr/sbin/apachectl -f /www/conf/httpd.conf > Syntax error on line 236 of /www/conf/httpd.conf: > Port was replaced with Listen in Apache 2.0 > -------------------------------------------------- > > On fixing this, I get: > -------------------------------------------------- > [root@localhost conf]# /usr/sbin/apachectl -f /www/conf/httpd.conf > Syntax error on line 330 of /www/conf/httpd.conf: > Invalid command 'Order', perhaps mis-spelled or defined by a module not > included in the server configuration > -------------------------------------------------- > > Of course, the problems go on and on... and on. I'm new to the world of > Linux, so could anyone throw some ideas my way? > > Thanks, > Lee > > [URL 1] > [http://www.e-gineer.com/instructions/install-php4x-for-apache1xx-on-linux.phtml] > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#126751) next »