Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ahsenrdp's avatar

How to solve "Error: Apache shutdown unexpectedly"?

After reinstalling XAMPP, I now see the following issues while attempting to launch my Apache server in the XAMPP Control Panel:

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

0 likes
1 reply
mvd's avatar

@ahsenrdp

Did you looked at the the Windows Event Viewer? Can you try to launch Xampp as administrator and see if it works.

Please or to participate in this conversation.