Solution to the problem of invalid Apache module in XAMPP under Win8
Since the win8 system occupies port 80 by default, this will cause apache to fail to open normally.
Run "cmd.exe" located in the "C:\Windows\System32" path with administrator rights.
C:WINDOWSsystem32>net stop http
HTTP Service The service was stopped successfully.
C:WINDOWSsystem32>netstat -ano | findstr 0.0.0.0:80
C:WINDOWSsystem32>sc config http start=disabled
[SC] ChangeServiceConfig Success
Open the registry: win r key and enter regedit
Found: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesHTTP
Find the Start item on the right and change it to 0
Restart the system, the System process will no longer occupy port 80
The reason is that the win8 system occupies port 80 by default, which will cause apache to fail to open normally.
Solution:
1. Run "cmd.exe" located in the "C:\Windows\System32" path with administrator rights. ;
2.C:WINDOWSsystem32>net stop http ;
3.HTTP Service service has been stopped successfully;
4.C:WINDOWSsystem32>netstat -ano | findstr 0.0.0.0:80;
5.C:WINDOWSsystem32>sc config http start=disabled;
6.[SC] ChangeServiceConfig successful;
7. Open the registry: win r key and enter regedit;
8. Found: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesHTTP;
9. Find the Start item on the right and change it to 0;
10. Restart the system and the System process will no longer occupy port 80.
The above is the detailed content of What is the method to solve the problem of invalid Apache module in XAMPP under win8?. For more information, please follow other related articles on the PHP Chinese website!