2
我最近在Mac OSX El Capitan上升級到php56。現在我無法運行apache。無法連接到el capitan mac上的Apache錯誤AH00526:-c/-C指令行1上的語法錯誤:
我得到: -
This site can’t be reached
localhost refused to connect.
試圖運行時本地主機
的apachectl -k重新啓動命令給出錯誤說
httpd not running, trying to start
當我運行命令的httpd -t -c它會拋出以下錯誤: -
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日誌中沒有日誌。
任何人都可以幫助我解決這個問題。如果你需要更多的細節,請告訴我。
在升級時看起來像是Apache API中的一個衝突,請嘗試重新安裝Apache,順便說一句,這個問題應該在ServerFault上嗎? – SmasherHell