error: Apache shutdown unexpectedly.

本地前端xmapp apache忽然不能啓動了,前端

報錯apache

15:36:48 [Apache] Error: Apache shutdown unexpectedly.
15:36:48 [Apache] This may be due to a blocked port, missing dependencies,
15:36:48 [Apache] improper privileges, a crash, or a shutdown by another method.
15:36:48 [Apache] Press the Logs button to view error logs and check
15:36:48 [Apache] the Windows Event Viewer for more clues
15:36:48 [Apache] If you need more help, copy and post this
15:36:48 [Apache] entire log window on the forumsapp

網上找到方法不是很合適:post

①改httpd.conf和httpd-ssl.conf中的端口號 :吧80和443分別改爲不經常使用的端口號如8001 4431,可是強迫症不行啊。this

②netstat -ano 查找使用80端口的進程,個人是pid 4 ,再tasklist找到pid4 ,是system,找了半天分不清究竟是哪一個system service。spa

最終方法進程

用admin 打開cmd,net stop http,提示print spools和branch cache在使用。 查了下好像也沒什麼大用,直接y,終止。ssl

啓動apache成功。 ci

相關文章
相關標籤/搜索