XAMPP, Apache – Error: Apache shutdown unexpectedly

Here we discuss the Error: Apache shutdown unexpectedly issues with XAMPP. In this complete article, we will know why the Apache and MySQL issue occurs and how we can solve them easily or without editing the configuration files.

Error: Apache shutdown unexpectedly
Error: Apache shutdown unexpectedly

Also Read: Increase PHPMyAdmin Import Size Ubuntu and XAMPP

Why this “apache shutdown unexpectedly” xampp occurs

After installing the XAMPP server, here are some major points that may cause the apache error,

  • Default ports are used by other resources or softwares.
  • Any other apache server is running on same port. (You can check it by using your Task Manager)

[Solution] error: apache shutdown unexpectedly xampp occurs

Here is the complete step-by-step solution without editing the configuration file.

Step: 1

Open XAMPP with administrator permission.

XAMPP Run as Administartor
XAMPP Run as Administartor

Also Read: Send Mail From Localhost in PHP Using XAMPP

Step: 2

Click on the “Config” button,

Step – 3

Now click on “Service and Port Settings“, now you can see the Apache port setting on the following image.

XAMPP Service and Port Settings

Here you can set Port numbers according to your requirements and then hit the “SAVE” button.

You can do it for MySQL as well.

After completing these steps, you can now Start your Apache and MySQL both correctly.

This is the complete and most easy method to solve the error: apache shutdown unexpectedly xampp issue on windows systems.

You can download XAMPP from here Download XAMPP (apachefriends.org) as well.

I hope this can help you.

Also Read: How to Execute PHP File From Command Line

Happy Coding..!

Was this article helpful?
My name is Bikash Kr. Panda. I own and operate PHPCODER.TECH, my native place in Odisha. I am a Web Programmer by profession and working on more than 50 projects to date. My passion is working on the web-based project using PHP and relate to all CMS and frameworks which is based on PHP.
Posts created 181

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Begin typing your search term above and press enter to search. Press ESC to cancel.

Back To Top
mariobet - supertotobet - escort - milanobet giriş - gizabet giriş -
perabet giriş
- betkanyon giriş -

jojobet giriş

We are now accepting guest posting and creation of back-links.
This is default text for notification bar