Fix Apache Shutdown Unexpectedly Error in XAMPP application

When you are running XAMPP application on your Windows operating system, you might frequently be getting an error message as shown below
fix Apache shutdown unexpectedly problem
“Error: Apache shutdown unexpectedly.

This error may be due to a blocked port, missing dependencies, improper privileges, crash, or a shutdown by another method. Press the Logs button to view error logs and check the Windows Event Viewer for more clues. If you need more help, copy and post this entire log window on the forums”.


In the below video tutorial, we have shown the method to fix error Apache shutdown unexpectedly.

To fix this issue, first, go to computer management by searching on windows start bar.

On ‘computer management,’ Scroll to the bottom and you will be able to find ‘Word Wide Web Publishing Service’ and then click on properties. Change startup type as ‘disabled’ click on apply and then ok.

Disable world wide web publishing service

Disable World Wide Web Publishing Service

Scroll to top on ‘computer management, ‘ and then you will be able to find Apache service, click on properties.  Change startup type as ‘disabled’ click on apply and then ok.

Disable Apache2 service

Disable Apache2 service

By making this changes, you will be to run XAMPP application usually as usual without any error such as Apache shutdown unexpectedly.


Vinodh Reddy is a Digital Marketing Head at MUBIT. He works as a freelancer on SEO, SEM and Web development projects. He also contributes to ME Mechanical and EduGeneral.

Related Articles & Comments

  • THANK YOU for best solution

    bhupal February 4, 2019 10:48 am Reply
  • Thank you. Your advice have worked.
    I coud not fine apache in ‘services.msc’, but it worked without that.
    Now I can load PHP file.
    Thank you.

    Yaakov February 12, 2019 5:11 am Reply
  • what if there is no apache listed on the list?

    amira March 28, 2019 2:02 pm Reply
  • Thank you so much ….

    Tirtha Prajapati May 9, 2019 7:08 pm Reply
  • appache is not showing

    khobaib May 11, 2019 11:33 pm Reply
  • what if there is no apache and World Wide Web Publishing Service listed on the list?

    ibrahim July 4, 2019 6:03 pm Reply

Leave a Reply

%d bloggers like this: