win10 phpStudy 80端口被占用

原因是win8下系统默认占用80端口,导致apache无法打开。
解决方法:

1.以管理员权限运行c:windowssystem32cmd.exe ;
2.C:WINDOWSsystem32>net stop http ;
3.HTTP Service 服务已成功停止;
4.C:WINDOWSsystem32>netstat -ano | findstr 0.0.0.0:80 ;
5.C:WINDOWSsystem32>sc config http start=disabled ;
6.[SC] ChangeServiceConfig 成功 ;
7.打开注册表:win+r键 输入regedit ;
8.找到:HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesHTTP;
9.在右边找到Start这一项,将其改为0 ;
10.重启系统,System进程将不会再占用80端口。

posted on 2016-02-19 14:43  逍遥郭  阅读(2339)  评论(0编辑  收藏  举报

导航