Recently when I upgraded to Windows 10 I decided to go for a clean install first because I hadn’t clean-installed my system for quite a while. This means having to reinstall all the software including XAMPP that I use to manage mine as well as a couple of my clients’ websites.
Since I had installed XAMPP/Apache on a different drive, I simply tried to launch the service and I got the following error:
[Apache] Error: Apache shutdown unexpectedly.
[Apache] This may be due to a blocked port, missing dependencies,
[Apache] improper privileges, a crash, or a shutdown by another method.
[Apache] Press the Logs button to view error logs and check
[Apache] the Windows Event Viewer for more clues
[Apache] If you need more help, copy and post this
[Apache] entire log window on the forums
After trying to figure out why I cannot run the Apache server on the newly installed Windows 10 on my own I logged onto the Internet and downloaded a new copy of XAMPP and installed it in a different folder but this time too I got the same error.
So I did some research on the Internet. I found there are many people who cannot run the Apache server using XAMPP on Windows 10. As you can read, the problem is with some blocked port so I did some more research.
If you look at the httpd.conf file you will notice that in order to run Apache uses Port 80. So this port is blocked. What’s blocking this port? It’s Skype.
If Skype is running, go to
Tools >> Options… >> Advanced >> Connection
Here there is a checkbox with the label “Use port 80 and 443 for additional incoming connections”.
This is the reason why you cannot run Apache using XAMPP in Windows 10.
Uncheck this box and click Save. Completely quit Skype then.
Restart the XAMPP Control Panel and this time you will be able to start the Apache server.
After reinstalling XAMPP I realised I could have restarted the version that I already have on my computer after I have changed the port settings in Skype, so it was a waste of time. But anyway, if you cannot run the Apache server on Windows 10 using XAMPP, since normally there is no other problem, you should first check your Skype settings, just to make sure.