I’ve just upgraded to windows 10 and found that XAMPP/WAMP Apache won’t start anymore for some reasons. It will simply attempt to start but then fail and ask the user to check the Apache error logs.
The “culprit” or should I say, reason, is because windows 10 comes with a service known as World Wide Web Publishing Service (I will just call it WWWPS for short) which is started automatically when windows starts and uses port 80 by default. Port 80 is what Apache in XAMPP/WAMP uses by default as well, and hence why the error above since port 80 has already been taken by WWWPS.
So the solution is pretty simple:
1. Run Command Prompt and type services.msc, then click OK.
2. Scroll To World Wide Web Publishing Service. Note that the Status should say that it is Running.
3. Double Click on that row. Change the Startup type from Automatic to Manual. Next, click on Stop to stop the WWWPS service. Don’t worry, unless you’re running some software that depends on the Microsoft IIS Web Server, you should be fine.
4. Now, try to start Apache again.
Yup, that’s all and it should work. Please leave a comment if this helps or you have other suggestions.