当前位置:主页 > 服务器 > Linux >

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

时间:2021-06-03 09:09:44 | 栏目:Linux | 点击:

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端口

您可能感兴趣的文章:

相关文章