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.

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
    • There will be there by default.

      Vinodh Reddy Chennu July 10, 2019 4:31 pm Reply
      • I dont have Apache or World Wide web Publishing services listed.

        Neha December 27, 2019 1:38 am Reply
  • no apache and world wide web publishing service listed…

    bishesh August 28, 2019 9:50 pm Reply
  • Nothing change Apache not working ??

    Eng.Elham Al-Odini September 3, 2019 2:50 pm Reply
  • my windows 10 does not have that option(WWWP) by default either what do i do??

    James September 6, 2019 1:36 pm Reply
  • World Wide Web Publishing Service is not listed in my machine, either.

    Cornelius Cody September 11, 2019 9:35 pm Reply
  • what if i cant see thoes two?

    xlawx September 14, 2019 10:58 pm Reply
  • apache file not show the list plz help me

    umashankar September 24, 2019 3:41 pm Reply
  • can not show wordwide server and apche in my server list

    zubair khan shinwari January 9, 2020 8:43 am Reply
  • Nice article

    Ashafak shaik January 19, 2020 12:28 pm Reply

Leave a Reply