A solution to xampp Apache’s failure to start

I haven’t used xampp for a long time. I encountered a problem when I started Apache service just now

Error: Apache shutdown unexpectedly.

This may be due to a blocked port, missing dependencies,

improper privileges, a crash, or a shutdown by another method

Check the “/xampp/apache/logs/error.log” file

and the Windows Event Viewer for more clues

This may be due to a blocked port

In the past, when Apache was opened in xampp, it generally occupied ports 80 and 443

Check whether these two ports are occupied

You can enter netstat – ano in the CMD to view it, or you can directly press netstat on the control panel of xampp to view the current occupied port

I quickly found that port 443 was occupied by the virtual machine, and shut down the process. Open Apache again

Generally, if you encounter problems, check ports 80 and 443 first

Similar Posts: