465

I've just re-installed XAMPP, and when I try to start my Apache server in the XAMPP Control Panel, I now get the following errors:

16:50:25 [Apache] Status change detected: running 16:50:26 [Apache] Status change detected: stopped 16:50:26 [Apache] Error: Apache shutdown unexpectedly. 16:50:26 [Apache] This may be due to a blocked port, missing dependencies, 16:50:26 [Apache] improper privileges, a crash, or a shutdown by another method. 16:50:26 [Apache] Press the Logs button to view error logs and check 16:50:26 [Apache] the Windows Event Viewer for more clues 16:50:26 [Apache] If you need more help, copy and post this 16:50:26 [Apache] entire log window on the forums 

How do I solve this?

5
  • 1
    I started having this problem after installing a new version of XAMPP. I thought the problem was about ports, since almost every post talks about them, but it wasn't. When I checked the error.log, I saw PHP Warning: 'vcruntime140.dll' 14.0 is not compatible with this PHP build which led me to this answer. Installing the required redistributable solved the problem. Commented Apr 22, 2020 at 14:22
  • I had the same problem, but changing the ports did nothing. Instead I typed xampp in Windows menu, then right clicked on it and selected "Run as administrator". After that I could start everything as usual. Commented Mar 28, 2023 at 9:58
  • I had same issue. The logs shown are not clear. So run the apache_start.bat, and it showed me exactly what was wrong. Commented Nov 8, 2023 at 11:21
  • i just gave the local user full control over the xampp folder and it worked, therefore running as admin would do the work in most cases. Commented Oct 4, 2024 at 14:18
  • I got this error (with XAMPP 8.2.12 on Windows Server 2022 (21H2)), and found that XAMPP hadn't installed the Apache service. <XAMPP directory>\apache\apache_installservice.bat does this. Commented May 8 at 13:04

62 Answers 62

1 2
3
-1

If you are using Skype, you will get this error.

Just press Ctrl+Alt+Del goto Task Manager select Skype and click End Task then go back and start the Apache once Apache starts successfully. Then open the Skype again now both will work well.

Not necessary to change any port.

Sign up to request clarification or add additional context in comments.

Comments

-1

The solution is uninstall the xampp and reinstall it. it will be work

1 Comment

This is not a solution to fixing the problem, this is avoiding the problem.
1 2
3

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.