Windows Server xampp无法启动apache提示
20:41:12 [Apache] Error: Apache shutdown unexpectedly.
20:41:12 [Apache] This may be due to a blocked port, missing dependencies,
20:41:12 [Apache] improper privileges, a crash, or a shutdown by another method.
20:41:12 [Apache] Check the "/xampp/apache/logs/error.log" file
20:41:12 [Apache] and the Windows Event Viewer for more clues
问题原因:端口被占用
解决方法:
1.首先在Windows的命令窗口下输入命令:netstat -nao查看80和443端口是否已处于监听状态。
(或者直接点击窗口旁边的“Netstat”按钮,就可以直接看到当前windows上所有被监听的ip及其端口号)