XAMPP的错误Error: Apache shutdown unexpectedly.

今天试了下XAMMP,居然一下就有错误


18:20:35  [Apache]Error: Apache shutdown unexpectedly.

18:20:35  [Apache] This may be due to a blocked port, missing dependencies, 
18:20:35  [Apache] improper privileges, a crash, or a shutdown by another method.
18:20:35  [Apache] Check the "/xampp/apache/logs/error.log" file

18:20:35  [Apache] and the Windows Event Viewer for more clues


点击Apache里的 Config 点击httpd-ssl.conf

用ctrl+f 定位Listen 80

将其改为Listen 81或其他没有占用的端口


这实际上是修改下面目录的文件,就是你安装xampp的目录,以我为例,我直接装在c盘

C:\xampp-portable\apache\conf\extra\httpd-ssl.conf

修改后就可以正常运行,如下



评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值