【XAMPP】 Error: Apache shutdown unexpectedly. 11:00:50  [Apache] 解决办法详细

XAMPP的Apache用不了,一直报错:

Error: Apache shutdown unexpectedly. 11:00:50  [Apache]        This may be due to a blocked port, missing dependencies,  11:00:50  [Apache] improper privileges, a crash, or a shutdown by another method. 11:00:50  [Apache]      Press the Logs button to view error

 

解读一下意思就是说端口问题,换个端口就可以了。

 

  1. 点击这个Config,选择下图这个Service and Port Settings

 

 

2.把原本端口号80443分别改成8080 4433(比较常用,也可以改成其他没有被占用的端口,比如81801

 

3.接着在主界面的点击Config,选择httpd.confhttpd-ssl.conf分别找到相应的位置分别改成前面设置的80804433(如果设置的是其他端口号要改成对应的设置)

 

4.这个位置是很好找的,看到数字就大概是了,注意只需要改下面的这个Listen,上面的这个如果一套流程下来还不行就再改上面的这个Listen

 

5.好之后有个细节,必须去状态栏把Xampp彻底关闭!再重新打开,如果还是不行,就换个端口号再试一遍。

 

 

欢迎留言评论。

posted @ 2019-06-21 11:46  HelenLee01  阅读(99)  评论(0编辑  收藏  举报