How To Fix Apache Shutdown Unexpectedly Error

In this article, I am going to fix Apache Shutdown Unexpectedly Error. When, I launch XAMPP control panel and tried starting Apache service but it could not start, got error again and again that the port 80 which I am using for apache service is already in use. I am guessing a system application because I recently reinstalled all PC network drivers. So, if you have encountered like this issue before Please follow the below steps.

How to install WAMPServer

How did I fix this issue? Well, I did some configuration changes, but before I go into the XAMPP detail, here is the error I got when I start apache service in the xampp control panel.

Fix Apache Shutdown Unexpectedly Error, How To Fix Apache Shutdown Unexpectedly Error

Fix Apache Shutdown Unexpectedly Error

The first step is to check if skype was making use of the port. This might be an issue too for some users found, but then it doesn’t work efficiently in some cases.
In the xampp control panel, select config a list of options and then select Apache (httpd.conf).

Fix Apache Shutdown Unexpectedly Error, How To Fix Apache Shutdown Unexpectedly Error

It will open this .conf file in the notepad text editor. Select Ctrl + F, then type Listen 80, and then hit enter to find the listen 80.

Fix Apache Shutdown Unexpectedly Error, How To Fix Apache Shutdown Unexpectedly Error

Change the port number here from 80 to 8080, Once the changes have been made, save the changes and then close the file.

Fix Apache Shutdown Unexpectedly Error, How To Fix Apache Shutdown Unexpectedly Error

Click again on the config button for apache in the xampp server control panel, and then select Apache (httpd-ssl.conf). It will open the .conf file in a notepad text editor.

Fix Apache Shutdown Unexpectedly Error, How To Fix Apache Shutdown Unexpectedly Error

Find Listen 443 and then Change the port 443 here to 4433. Once the changes have been done, save the changes and then close the file.

Fix Apache Shutdown Unexpectedly Error, How To Fix Apache Shutdown Unexpectedly Error

Please ensure to save the httpd.conf and httpd-ssl.conf files after performing the changes. Then restart the Apache service.
Here you can see, the port numbers (8080) have been changed respectively and the apache service is running fine.

Fix Apache Shutdown Unexpectedly Error, How To Fix Apache Shutdown Unexpectedly Error

Now you can see in your web browser http://localhost:8080/dashboard/

Fix Apache Shutdown Unexpectedly Error, How To Fix Apache Shutdown Unexpectedly Error

It works for me like a charm I hope it does so for you too.

For more information please click here

Jamil Parvez
Jamil Parvezhttps://www.xpertstec.com
Jamil Pervez works as a Network Administrator, based in Kuwait with a Primary focus on Microsoft technologies. Microsoft Certified MCSE, MCTP, MCITP, CCNP, CCIP, CCVP with 20 years of experience in administering Windows Servers, Exchange, VMWare, Veeam B&R, Veritas BackupExec.

Related Articles

Latest Articles