1: port 80. This may be because other applications on your computer Occupy port 80. There are two solutions to this problem. One is to remove port 80 from other applications, the other is to change apache port 80 to port 8080.
Let's see if the apache log prompts he Apache service named reported the following error:
>>> (OS 10048) generally, each socket address (Protocol/network address/Port) can be used only once. : Make_sock: cocould not bind to address 0.0.0.0: 80
If yes, 80 is occupied.
Port 80 is occupied (Port check)
Open the command prompt -- netstat-ano to view the local port opening and corresponding programs.
In this example, iis accounts for 80.
1. It is best not to select the path by yourself and install it in C:/wamp/(I tried N multiple methods, and finally this method works)
2. Disable ISS: windows + r enter services. msc to find iis disabled
3. Kill port 80: (Baidu windows kills many port 80)
2: configuration file httpd. conf
Configuration errors are mainly caused by some parameter problems in httpd. conf. You need to troubleshoot them one by one, because we cannot know that you are a Parameter error.