解决win8下xampp中apache模块无效的方法
由于win8系统默认占用了80端口,这会导致apache无法正常打开。
以管理员权限运行"cmd.exe"位于 "C:\Windows\System32" 路径中。
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端口
原因是由于win8系统默认占用了80端口,这会导致apache无法正常打开。
解决方法:
1.以管理员权限运行"cmd.exe"位于 "C:\Windows\System32" 路径中。 ;
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端口。
以上就是解决win8下XAMPP中Apache模块无效问题的方法是什么?的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号