启apache报错,报错内如下,请各位大侠帮我诊断一下,如果解决,小弟感激不尽!
wtmp begins Sun Nov 3 19:34:54 2013
[root@root ~]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 211 of /etc/httpd/conf/httpd.conf: S
yntax error on line 12 of /etc/httpd/conf.d/ssl.conf: Cannot load /etc/httpd/mod
ules/mod_ssl.so into server: libdistcache.so.1: cannot open shared object file: No
such file or directory
[FAILED]
修改/etc/httpd/conf/httpd.conf将Include conf/extra/httpd-ssl.conf这行注释掉试试
日志是你的配置文件的问题啊, /etc/httpd/conf.d/ssl.conf这个配置文件
如果你不使用ssl,可以先关闭。
grep -r "mod_ssl.so" /etc/httpd/
你看看哪个配置文件里面包含了mod_ssl.so
重装了php解决了