Apache shutdown unexpectedly解决方法,apacheunexpectedly


问题描述

最近在搞点web,装了XAMPP,在启动apache的时候就郁闷了,
18:22:07 [Apache] Error: Apache shutdown unexpectedly.
18:22:07 [Apache] This may be due to a blocked port, missing dependencies,
18:22:07 [Apache] improper privileges, a crash, or a shutdown by another method.
18:22:07 [Apache] Press the Logs button to view error logs and check
18:22:07 [Apache] the Windows Event Viewer for more clues
18:22:07 [Apache] If you need more help, copy and post this
18:22:07 [Apache] entire log window on the forums

解决办法

经过一番研究,原来是MainPort和SSLPort的问题,建议先在cmd中执行(安装路径)\xampp\apache\bin\httpd.exe,然后根据cmd中的提示,来解决。

推荐第一种办法。
补充:还有一种情况我没遇到,参考网上说的。如果配置了vhosts的话请把httpd-vhosts.conf 中端口改为88(同上端口号)

相关内容

    暂无相关文章