启动Apache
下午 12:14:52 [Apache] Problem detected!
下午 12:14:52 [Apache] Port 80 in use by "Unable to open process" with PID 4!
下午 12:14:52 [Apache] Apache WILL NOT start without the configured ports free!
下午 12:14:52 [Apache] You need to uninstall/disable/reconfigure the blocking application
下午 12:14:52 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
无法开启进程 端口被占用你需要卸载/关闭/重新配置应用程序块或者重置Apache Control Panel中的监听端口
解决方法: 关闭占用此端口的程序及服务 或 重新设置Apache端口
查看端口状态:cmd 进入控制台 netstat -ano
通过 services.msc 查看服务 有时候会发生端口被服务占用的情况 我们需要关闭服务
找到对应项双击 更改启动模式
一般占用了此端口的程序及服务都是我们要用到的所以我选择采用后面 重新设置Apache的端口
找到并打开修改 xampp根目录下的 properties.ini与xampp-control.ini 文件
修改端口号 properties.ini与xampp-control.ini 文件保持一致
难后在XAMPP中修改端口
在Apache 下的config 下的 httpd.conf文件修改端口
验证是否成功:点击admin
大功告成