Gift for you!

How to Fix Error Apache Shutdown unexpectedly in XAMPP (2019)


How to Fix Error Apache Shutdown unexpectedly in XAMPP (2019)
How to Fix Error Apache Shutdown unexpectedly in XAMPP (2019)
Today I am going to Show you that How to Fix Error Apache Shutdown unexpectedly in XAMPP Many Peoples Are Facing Errors In XAMPP Apache Like " error apache shutdown unexpectedly this may be due to a blocked port missing dependencies " but today i will solve this problem completely.
You'll Face the error like this:
16:50:25  [Apache]     Status change detected: running
16:50:26  [Apache]     Status change detected: stopped
16:50:26  [Apache]     Error: Apache shutdown unexpectedly.
16:50:26  [Apache]     This may be due to a blocked port, missing dependencies,
16:50:26  [Apache]     improper privileges, a crash, or a shutdown by another method.
16:50:26  [Apache]     Press the Logs button to view error logs and check
16:50:26  [Apache]     the Windows Event Viewer for more clues
16:50:26  [Apache]     If you need more help, copy and post this
16:50:26  [Apache]     entire log window on the forums

So Let's Fix The Problem :) : 

The Cause Of This Problem is that the port on which the apache Xampp is running is used by some other software (usually Skype or vmware) and This issue may also arise if you have wrong entries in any of these files httpd.conf and httpd-vhosts.conf. so in order to fix this problem you have to follow the following steps: 

For Skype: 

Open Skype.
Tools -> Options -> Advanced -> Connection.
Uncheck the "Use port 80 and 443 for alternatives for incoming connections" checkbox
Sign Out and Close all Skype windows. Try restarting your Apache.

For VMware Or Virtual Box: 

if you are using vmware got to EDIT > PREFERENCES > SHARED VMS > DISABLE SHARING and change port from 443 to any other port e.g 8443 and save changes. restart xampp or wamp

If Issue Still Not Solved Use This: 

Step 1 - From the XAMPP Control Panel, under Apache, click the Config button, and select the Apache (httpd.conf).
Inside the httpd.conf file, somehow I found a line that says:
Listen 80
And change the 80 into any number / port you want. In my scenario I’m using port 8080.
Listen 8080
Still from the httpd.conf file, I found another line that says:
ServerName localhost:80
Change 80 to 8080.
ServerName localhost:8080
Step 2 - From the XAMPP Control Panel, under Apache, click the Config button again, but this time select the Apache (httpd-ssl.conf). Inside the httpd-ssl.conf file, find line that says
Listen 443
And change the 443 into any number / port you want. I’ll using 4433 as the new port number.
Listen 4433
Still from the httpd-ssl.conf file, find another line that says
<VirtualHost _default_:443>

ServerName localhost:443
And change 443 to 4433.
<VirtualHost _default_:4433>

ServerName localhost:4433
Remember to save the httpd.conf and httpd-ssl.conf files after performing some changes. Then restart the Apache service.

This Issue Will Work On All OS Like Windows 7, Windows 8 , Windows 10,Windows XP Every OS and it will also works on Ubuntu and linux also. Hope it worked!

 Hope Your Problem Solved!

Share and Help Your Friends! 

 

Post a Comment

0 Comments