有一个关于如何在archlinux上设置lamp的不错的教程。
在/etc/httpd/conf/httpd.conf中包含以下行之后:
# Use for PHP 5.x: LoadModule php5_module modules/libphp5.so AddHandler php5-script php Include conf/extra/php5_module.conf
我在sudo systemctl restart httpd上得到了折页错误
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.
如果我评论行LoadModule php5_module modules/libphp5.so,我就不会得到更多的错误,而且还会收到php它不能工作。有人能帮忙吗?
其他似乎遇到了同样的问题。
systemctl status httpd.service的输出是:
* httpd.service - Apache Web Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sun 2015-12-20 11:12:51 EET; 5h 0min ago Process: 2550 ExecStop=/usr/bin/apachectl graceful-stop (code=exited, status=1/FAILURE) Process: 3049 ExecStart=/usr/bin/apachectl start (code=exited, status=1/FAILURE) Main PID: 2390 (code=exited, status=0/SUCCESS)
apachectl configtest的输出是:
[Mon Dec 21 00:46:28.514204 2015] [:crit] [pid 10566:tid 139771165026176] Apache AH00013: Pre-configuration failed
https://stackoverflow.com/questions/34379544
复制相似问题