您现在的位置: 万盛学电脑网 >> 操作系统 >> windows 8技巧 >> 正文

win8下XAMPP中Apache模块无效解决办法

作者:佚名    责任编辑:admin    更新时间:2022-06-22

   win8下XAMPP中Apache模块无效解决办法

  win8下系统默认占用80端口,导致apache无法打开。

  以管理员权限运行c:windowssystem32cmd.exe

  C:WINDOWSsystem32>net stop http

  HTTP Service 服务已成功停止。

  C:WINDOWSsystem32>netstat -ano | findstr 0.0.0.0:80

  C:WINDOWSsystem32>sc config http start=disabled

  [SC] ChangeServiceConfig 成功

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

  找到:HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesHTTP

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

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