码上敲享录 > PHP开发经验分享 > XAMPP安装后启动Apache报错

XAMPP安装后启动Apache报错

上一章章节目录下一章 2018-08-13已有2684人阅读 评论(0)

XAMPP安装后启动Apache报错:

12:38:01  [Apache] Error: Apache shutdown unexpectedly.

12:38:01  [Apache] This may be due to a blocked port, missing dependencies,

12:38:01  [Apache] improper privileges, a crash, or a shutdown by another method.

12:38:01  [Apache] Press the Logs button to view error logs and check

12:38:01  [Apache] the Windows Event Viewer for more clues

12:38:01  [Apache] If you need more help, copy and post this

12:38:01  [Apache] entire log window on the forums

12:38:10  [Apache] Problem detected!

12:38:10  [Apache] Port 443 in use by "D:\setUp\vmware\vmware-hostd.exe -u "C:\ProgramData\VMware\hostd\config.xml""

with PID 3776!

12:38:10  [Apache] Apache WILL NOT start without the configured ports free!

12:38:10  [Apache] You need to uninstall/disable/reconfigure the blocking application

12:38:10  [Apache] or reconfigure Apache and the Control Panel to listen on a different port


解决方法:

如果大家也是这个错误,那就是端口443被vmware-hostd.exe(这个服务是我本地安装的软件)占用了,点击在XAMPP的Apache中的Config,选择httpd-ssl.conf,修改所有的443端口为4433(或者别的服务没用到的端口都可以)。有的人可能80端口也被占用了,那就修改httpd.conf文件的80改为其它端口即可。个人多次安装经验就是一般刚安装的xampp启动Apache报错都是端口占用原因。


本文链接:http://www.yayihouse.com/yayishuwu/chapter/1477


0

有建议,请留言!

  • *您的姓名:

  • *所在城市:

  • *您的联系电话:

    *您的QQ:

  • 咨询问题:

  • 提 交