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

Reply via email to