Xampp error出错信息:Port 80 in use by “Unable to open process” with PID 4!

2018年6月13日09:23:09 发表评论 51 阅读

Xampp error:Port 80 in use by "Unable to open process" with PID 4! 这个错误信息的意思是系统的服务占用了80端口,所以要么结束系统服务,要么修改apache端口。

PID4的服务是World Wide Web Publishing Service。

一、Xampp 出错信息

Xampp error:Port 80 in use by "Unable to open process" with PID 4!

Xampp error出错信息:Port 80 in use by

Xampp 出错信息

08:50:51 [Apache] Status change detected: stopped
08:50:51 [Apache] Error: Apache shutdown unexpectedly.
08:50:51 [Apache] This may be due to a blocked port, missing dependencies,
08:50:51 [Apache] improper privileges, a crash, or a shutdown by another method.
08:50:51 [Apache] Press the Logs button to view error logs and check
08:50:51 [Apache] the Windows Event Viewer for more clues
08:50:51 [Apache] If you need more help, copy and post this
08:50:51 [Apache] entire log window on the forums
08:50:53 [mysql] Attempting to start MySQL app...
08:50:53 [mysql] Status change detected: running

二、Xampp 出错原因分析

Port 80 in use by "Unable to open process" with PID 4! 这个错误信息的意思是系统的服务占用了80端口,所以要么结束系统服务,要么修改apache端口。

PID4的服务是World Wide Web Publishing Service。

三、有两种解决出错的办法

1、修改Apache 占用端口

通过点击与“Apache”模块同一行上的“Config”按钮,在下拉列表中选择“httpd.conf”文件,然后将“Listen 80”行更改为“Listen 8080”。保存文件并关闭它。

还要更改CONFIG - >服务和端口设置 - >将其更改为8080 ,然后重启Apache.Xampp error出错信息:Port 80 in use by

 

2、选择结束这个系统服务的PID,运行services.msc,找到然后停止即可

在开始--->运行--->输入services.msc 

Xampp error出错信息:Port 80 in use by

itdog

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: