xampp
Posted 夜冷霜星
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xampp相关的知识,希望对你有一定的参考价值。
使用XAMPP启动Apache时,遇到如下错误:
15:08:11 [Apache] Error: Apache shutdown unexpectedly.
15:08:11 [Apache] This may be due to a blocked port, missing dependencies,
15:08:11 [Apache] improper privileges, a crash, or a shutdown by another method.
15:08:11 [Apache] Press the Logs button to view error logs and check
15:08:11 [Apache] the Windows Event Viewer for more clues
15:08:11 [Apache] If you need more help, copy and post this
15:08:11 [Apache] entire log window on the forums
15:08:43 [Apache] Problem detected!
15:08:43 [Apache] Port 80 in use by "C:\WINDOWS\system32\inetsrv\inetinfo.exe" with PID 1196!
15:08:44 [Apache] Apache WILL NOT start without the configured ports free!
15:08:44 [Apache] You need to uninstall/disable/reconfigure the blocking application
15:08:44 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
15:08:44 [Apache] Problem detected!
15:08:44 [Apache] Port 443 in use by "C:\WINDOWS\system32\inetsrv\inetinfo.exe" with PID 1196!
15:08:44 [Apache] Apache WILL NOT start without the configured ports free!
15:08:44 [Apache] You need to uninstall/disable/reconfigure the blocking application
15:08:44 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
系统提示80端口和443端口被占用,通过修改配置文件可以选择未被占用的端口:
1.在\ xampp\apache\conf目录下 ,打开httpd.conf,将里边的80端口全部改成一个未被占用的端口,比如8088
2.在 \ xampp\apache\conf\extra目录下 ,打开httpd-ssl.conf ,将文件里的443端口全部换成一个未被占用的端口,比如1443
重新启动Apache成功!
以上是关于xampp的主要内容,如果未能解决你的问题,请参考以下文章