xampp安装后启动apache出现端口占用问题
apache默认监听电脑80端口,当端口被占用时,xampp无法正常启动apache。我们需要将端口解除占用再启动。
xampp报错:
Problem detected!
19:36:24 [Apache] Port 80 in use by "C:\Windows\system32\svchost.exe -k netsvcs" with PID 4972!
19:36:24 [Apache] Apache WILL NOT start without the configured ports free!
19:36:24 [Apache] You need to uninstall/disable/reconfigure the blocking application
19:36:24 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
启动任务管理器,查找PID为4972的应用程序,右键结束进程。