Red Hat 8 Apache problem - stumped :-(

From: Date: Mon, 02 Dec 2002 11:51:51 +0000
Subject: Red Hat 8 Apache problem - stumped :-(
Groups: php.general 
Request: Send a blank email to php-general+get-126748@lists.php.net to get a copy of this message
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]

« previous php.general (#126748) next »