XAMPP Apache 启动失败 This may be due to a blocked port, missing dependencies(:端口被占用)

XAMPP Apache 启动失败 This may be due to a blocked port, missing dependencies(:端口被占用)

错误示例:
16:14:27  [Apache] 	Attempting to start Apache app...16:14:28  [Apache] 	Status change detected: running16:14:30  [Apache] 	Status change detected: stopped16:14:30  [Apache] 	Error: Apache shutdown unexpectedly.16:14:30  [Apache] 	This may be due to a blocked port, missing dependencies,16:14:30  [Apache] 	improper privileges, a crash, or a shutdown by another method.16:14:30  [Apache] 	Press the Logs button to view error logs and check16:14:30  [Apache] 	the Windows Event Viewer for more clues16:14:30  [Apache] 	If you need more help, copy and post this16:14:30  [Apache] 	entire log window on the forums在这里插入图片描述
上面可以看出: This may be due to a blocked port, missing dependencies, 意思是端口堵塞,意味着冲突了,被占用了。

声明:Apache 默认启动需要80 & 443 端口

解决方案:

通过 XAMPP 面板中的 netstat 查看端口,示例:
在这里插入图片描述
面对这个问题:

  • 在这里插入图片描述找到 VMware Workstation Server 服务器,关闭服务,不会对VMware产生影响,但是可能关不好,每次重启电脑都需要重新关掉

在这里插入图片描述

  • 修改XAMPP Apache conf 配置文件,修改httpd-ssl.conf 中监听443端口修改为444或者其他没占用的端口。

ps:80端口同上

  • 4
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值