The previous time stopped Apache, the result is opened when found unable to open, 80 port is occupied, so win+r run cmd
Input Netstat-ano
You can see that port 80 is occupied by PID4, so open Task Manager-process-view, select column, check PID
You can see that PID 4 is occupied by NT kernel & System
I've been searching the internet for a long time to find a solution
http://www.cameroncooke.com/2009/01/25/ windows-7-uses-port-80-and-makes-it-impossible-to-install-apache-solution/comment-page-1/#comments
Original:
Translate as follows:
The process is HTTP. sys. It is the driver component of the HTTP API, the HTTP stack server. If the port is consumed by HTTP. SYS, some applications that are using HTTP. sys are running. This is why Apache is prevented from running because HTTP. SYS occupies port 80. We have provided an application mechanism to help control port sharing, but I need to investigate what special application is causing you to encounter this difficulty. If you can provide us with the output of the "Netsh http show servicestate" command, I can find out which application is using HTTP. sys. Before you disable HTTP. sys, follow these steps to run the command:
1. sc config HTTP stat = demand
2. Reboot
3. Run the command (Netsh http show servicestat) as Administrator
Before you use this command, you can disable HTTP. sys by following these steps:
1. net stop http
2. Sc Config http start= disabled
Then run the net stop HTTP
Press Y to determine
When running Sc config HTTP start= disabled
OK, now start Apache, you can start up.
Check out the Netstat-ano.
Found PID 4 takes up 445 ports
Apache enabled, Discovery 80 port occupied "resolved"