当前位置: 移动技术网 > 网络运营>服务器>Linux > win8下XAMPP中Apache模块无效(apache无法打开)的解决方法

win8下XAMPP中Apache模块无效(apache无法打开)的解决方法

2019年05月03日  | 移动技术网网络运营  | 我要评论
win8下系统默认占用80端口,导致apache无法打开。

以管理员权限运行c:\windows\system32\cmd.exe

c:\windows\system32>net stop http

http service 服务已成功停止。

c:\windows\system32>netstat -ano | findstr 0.0.0.0:80

c:\windows\system32>sc config http start=disabled

[sc] changeserviceconfig 成功

打开注册表:win+r键 输入regedit

找到:hkey_local_machine\system\currentcontrolset\services\http

在右边找到start这一项,将其改为0

重启系统,system进程将不会再占用80端口

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网