How to fix Apache not starting on XAMPP
The XAMPP installation is very straightforward, but Windows 10 sometimes may not allow the Apache server to run. Usually, it’s because the World Wide Publishing Service is running on port 80 on your computer, which also happens to be the default TCP/IP port that Apaches uses on XAMPP, and two applications can’t use the same networking port.
Read more here How To install XAMPP on Windows 7/8/10
If you run into this issue, there are a couple of ways to get around it. You can uninstall the publishing service, or you can change the default port on Apache.
Uninstall World Wide Web Services
If you don’t have any app depending on the World Wide Web Services feature, you can uninstall it using these steps:
Open Start.
Search for Control Panel, and click the top result to open the experience.
Click on Programs.
Click the Programs and Features option.
Click the Turn Windows features on or off option from the left pane.
Expand the Internet Information Services branch
Clear the World Wide Web Services option.
Click the OK button.
Restart your computer.
Start the XAMPP Control Panel.
Click the Start button on Apache.