XAMPP: Couldn't start Apache (Windows 10)
There are a few things you can try if you are having trouble starting Apache in XAMPP on Windows 10:
- Check if Apache is already running:
- Open the XAMPP control panel
- Click the "Service" button
- If Apache is already running, it will show as "Running" in the Status column
- If it is already running, try stopping the service and then starting it again
- Check if another program is using port 80: Apache uses port 80 by default, so if another program (such as Skype or IIS) is using that port, it could cause a conflict. You can try the following to free up the port:
- Close the program that is using port 80
- Change the Apache port in the XAMPP control panel:
- Click the "Config" button for Apache in the XAMPP control panel
- Select the "Apache (httpd.conf)" option
- Scroll down to the "Listen" directive and change the port number to something other than 80 (e.g. 8080)
- Save the changes and restart Apache
- Check the Apache error log:
- The Apache error log can contain information about why Apache is not starting. To view the error log:
- Open the XAMPP control panel
- Click the "Logs" button
- Click the "Apache" tab
- Look for any error messages that may provide clues as to what is causing the problem
I hope these suggestions help! If you are still having trouble, you might also try doing a clean install of XAMPP or trying a different version.