我最近升级到php56。现在我无法运行apache。
我正进入(状态:-
This site can’t be reached
localhost refused to connect.
尝试运行localhost时
当我运行命令httpd -t -c httpd.conf时,它将引发以下错误:-
AH00526: Syntax error on line 1 of -c/-C directives:
Invalid command 'httpd.conf', perhaps misspelled or defined by a module not included in the server configuration
apachectl configtest不会引发任何错误。apache日志中也没有日志。
谁能帮我解决这个问题。如果您需要更多详细信息,请告诉我。
知道了。这是因为httpd.conf无法加载libphp5.so LoadModule php5_module libexec / apache2 / libphp5.so。Apache开始工作。
但是它应该已经登录了错误。不知道为什么它没有记录任何错误。无论如何,感谢@FlorianDeish的帮助。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句