博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
XAMPP Apache无法启动的一种解决方法
阅读量:7003 次
发布时间:2019-06-27

本文共 555 字,大约阅读时间需要 1 分钟。

hot3.png

好久没用XAMPP了,刚才在开启Apache服务时遇到了问题。

Error: Apache shutdown unexpectedly.

This may be due to a blocked port, missing dependencies, 

improper privileges, a crash, or a shutdown by another method

Check the "/xampp/apache/logs/error.log" file

and the Windows Event Viewer for more clues

This may be due to a blocked port 一种可能的原因就是端口被占用了。

以前在XAMPP里开启Apache时一般都占据了80和443端口。

去检查下这两个端口是否被占用。

可以在CMD里输入netstat -ano来查看,也可以直接按XAMPP的控制面板上的Netstat按来查看当前占用的端口。

我这边很快发现443端口被虚拟机占用了,关掉这个进程。再次开启Apache就可以。

一般遇到问题就先检查下80和443端口吧。

转载于:https://my.oschina.net/zhudibrian/blog/174886

你可能感兴趣的文章