Home > System Tutorial > Windows Series > What is the method to solve the problem of invalid Apache module in XAMPP under win8?

What is the method to solve the problem of invalid Apache module in XAMPP under win8?

WBOY
Release: 2024-01-10 13:22:16
forward
1178 people have browsed it

What is the solution to the invalid Apache module in XAMPP under Win8

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

xampp cannot start apache under win8

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!

source:docexcel.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template