PDA

View Full Version : httpd error


enginzorlu
09-12-2006, 04:11 AM
We got following error:




root@server [~]# apachectl graceful
/usr/sbin/apachectl graceful: httpd not running, trying to start
Syntax error on line 81 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so: cannot open shared object file: No such file or directory
/usr/sbin/apachectl graceful: httpd could not be started




any suggestions?

rocketcity
09-12-2006, 08:37 AM
edit httpd.conf and comment it out. It would look like
#LoadModule php4_module /usr/lib/apache/libphp4.so
when you have finished. Then start apache: /sbin/service httpd start and see if apache will start.

enginzorlu
09-12-2006, 12:02 PM
Originally posted by rocketcity
edit httpd.conf and comment it out. It would look like
#LoadModule php4_module /usr/lib/apache/libphp4.so
when you have finished. Then start apache: /sbin/service httpd start and see if apache will start.

Thank you for your reply.

Apache is started but php extensions are not working :-\