WordPress

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.

xampp control panel

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).

xampp control panel config

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.

xampp httpd.conf listen 80

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

xampp httpd.conf listen 8080

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.

xampp control panel config

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.

xampp httpd-ssl.conf

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.

xampp control panel

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

welcome to xampp

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

For more information please click here

Jamil Parvez

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

Leave a Reply

Back to top button