我安装了 apache
sudo yum install httpd
比我尝试用
启动apachesudo systemctl start httpd.service
但是我收到以下错误:
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
所以我跑步
systemctl status httpd.service
我收到以下消息:
httpd: Syntax error on line 51 of /etc/httpd/conf/httpd.conf: Syntax error on line 4 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_mpm_prefork.so into server: /usr/lib/apache/mod_mpm_prefork.so: undefined symbol: ap_set_listencbratio
我也跑步
journalctl -xe
我得到:
httpd: Syntax error on line 51 of /etc/httpd/conf/httpd.conf: Syntax error on line 4 of /etc/httpd/conf/extra/httpd-phpmodules.co
我该如何解决这个问题?太令人沮丧了
您解决问题了吗?我上面有同样的问题!你能帮我吗!!