启动xampp出错,Port 80 in use by "Unable to open process" with PID 4!
环境:windows10
80端口被PID为4的应用占用。
参考文章:
解决方法:
参考:
更改Apache所要用的端口
Step1: config-->Apache(httpd.conf)
Step2: 修改httpd.conf,Listen 80 改为 Listen 8080
#Listen 12.34.56.78:8080
Listen 8080ServerName localhost:80 改为 ServerName localhost:8080
Step3: config->Service and Port Settings ->Apache -> Main Port ->改为8080