http://blog.csdn.net/dong123dddd/article/details/21372179
XAMPP the error displayed at startup is:
9:52:41 [Apache]
Attempting to start Apache app ...
9:52:41 [Apache]
Status Change detected:running
9:52:42 [Apache] Status Change detected:stopped
9:52:42 [Apache] error:apache shutdown unexpectedly.
9:52:42 [Apache] This is due to a blocked port, missing dependencies,
9:52:42 [Apache] improper privileges, a crash, or a shutdown by another method.
9:52:42 [Apache] Check the "/xampp/apache/logs/error.log" file
9:52:42 [Apache]
And the Windows Event Viewer for more clues
CMD prints the following log by running Apache/bin/httpd.exe:
or 80 ports in the back.
The quickest way to deal with this is to modify the port number:
In/xampp/apache/conf/extra/httpd-ssl.conf
Change Listen 443 to 444 (customizable)
Port is occupied, Apache can not listen to 80 port, how to solve it?
In/xampp/apache/conf/extra/httpd.conf
Change Listen 80 to 88 (customizable)
If vhosts is configured, please change the port in the httpd-vhosts.conf to 88 (same as the upper number)
Second, through the cmd Netstat-ano look at this machine 80, 443 port is occupied no-------here may be occupied by other programs such as IIS, virtual machine, etc.
2. Find the process name that occupies 80, 443 ports by printing tasklist in CMD.
3.taskkill/pid port number to kill this process name, xampp restart Apache.
In summary, the first method is recommended, and the second one is more or less encountered each time it starts.
"Reprint" Apache shutdown unexpectedly startup error resolution