Are you getting the error “Apache shutdown unexpectedly”? Well, this article will help you sort this problem and carry on with your work.
PM 04:22:16 [Apache] Attempting to start Apache app…
PM 04:22:18 [Apache] Status change detected: running
PM 04:22:20 [Apache] Status change detected: stopped
PM 04:22:20 [Apache] Error: Apache shutdown unexpectedly.
PM 04:22:20 [Apache] This may be due to a blocked port, missing dependencies,
PM 04:22:20 [Apache] improper privileges, a crash, or a shutdown by another method.
PM 04:22:20 [Apache] Press the Logs button to view error logs and check
PM 04:22:20 [Apache] the Windows Event Viewer for more clues
PM 04:22:20 [Apache] If you need more help, copy and post this
PM 04:22:20 [Apache] entire log window on the forums
First, check which process is running in your port 80. try the following command in your terminal
net stop http
The above command will stop the process which is using your port 80.
If you are not interested in stopping that process and you want it to be running. Then you have to change the port for apache server. Below are the steps to change the port of apache
STEP #1:
Open the XAMPP Control Panel as administrator.
STEP #2:
In the XAMPP Control Panel, Left click on the Config button corresponding to Apache
STEP #3:
Select ‘Apache (httpd.conf)’ from the drop-down menu. Notepad will open.
STEP #4:
Find Listen 80 and convert it to Listen 81.(or some other port number as per your wish)
NOTE: When you try to run xampp you should use “localhost:81/dashboard/” instead of “localhost/dashboard/”
STEP #5:
Find ServerName localhost:80 to ServerName localhost:81
STEP #6:
Save the notepad. Be sure that you can save the notepad file only if you open the XAMPP control panel as an Administrator. Now, start the Apache. It will run now.
If you have any problem regarding this, mention it in comments. I will try to solve your problem.
Update:
If you are using Skype, do the following steps:
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
Restart your Apache
41 comments on “6 Steps to fix the Error: Apache shutdown unexpectedly.”
Its not working for me dunno why..
i tried changing to other port than 80, 81 but still the same thing
Check is there any process running in that port. Try this command “net stop HTTP”. Let me know whether it worked for you
I have tried your method but it is not working
not woking..i tried your method but not working
Check which process is running in port 80 and use the following command to stop the process using port 80.
net stop http
Let me know whether it worked for you
I did the steps, but its still showing error.
Check which process is running in port 80 and use the following command to stop the process using port 80.
net stop http
Let me know whether it worked for you
hi if you find the solution of above problem can you please send me on my email id vickynarula20@gmail.com
[Apache] Attempting to start Apache service…
I did the steps above but I am still getting this error
I hope the following link will help
https://stackoverflow.com/questions/29069857/xampp-apache-could-not-start-attempting-to-start-apache-service
Let me know whether it works for you
its showing “Attempting to start Apache service…” bt can’t get started
I hope the following link will help
https://stackoverflow.com/questions/29069857/xampp-apache-could-not-start-attempting-to-start-apache-service
Stil issue is here
I have uninstalled skype also.
Check which process is running in port 80. Use the following command to stop the process using port 80.
net stop http
So do this…. Go to click on config -> http.conf file -> now change listen:80 to listen 8080 and severname localhost to 8080. After this, Go to http-ssl.conf and change anywhere you see 443 to 4433…. Now go to your browser and type localhost:8080/ and it will run. Best of luck
I have installed 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
Restart your Apache
Error: Apache shutdown unexpectedly.
20:16:54 [Apache] This may be due to a blocked port, missing dependencies,
20:16:54 [Apache] improper privileges, a crash, or a shutdown by another method.
20:16:54 [Apache] Press the Logs button to view error logs and check
20:16:54 [Apache] the Windows Event Viewer for more clues
20:16:54 [Apache] If you need more help, copy and post this
20:16:54 [Apache] entire log window on the forums
I have tried this many times, it’s not working
I have watched so many videos on youtube but still can’t get rid of it
I stopped http through “net stop http” and tried to start Xampp Apache. But still it gives the same error.
I do not want to change the port!!
Please help
Do you have skype running n your system?
Still Can’t Start 🙁
[Apache] Error: Apache shutdown unexpectedly.
10:25:22 [Apache] This may be due to a blocked port, missing dependencies,
10:25:22 [Apache] improper privileges, a crash, or a shutdown by another method.
10:25:22 [Apache] Press the Logs button to view error logs and check
10:25:22 [Apache] the Windows Event Viewer for more clues
10:25:22 [Apache] If you need more help, copy and post this
10:25:22 [Apache] entire log window on the forums
Did you check which process running in port 80? Can you try stopping it or change it to some other port other than 80?
Error not remove by this method.still same error come.
Try stopping the process using “net stop http” or change the port to some other number other than 80, 81. Let me know whether it worked for you
I have tried this many times ,its not working
I have watched so many videos on you tube but still can’t get rid of it
Try stopping the process using “net stop http” or change the port to some other number other than 80, 81. Let me know whether it worked for you
I have found it. but how to reply
So do this…. Go to click on config -> http.conf file -> now change listen:80 to listen 8080 and severname localhost to 8080. After this, Go to http-ssl.conf and change anywhere you see 443 to 4433…. Now go to your browser and type localhost:8080/ and it will run. Best of luck
I change what explained but still same error come’s .
Error: Apache shutdown unexpectedly.
6:39:15 PM [Apache] This may be due to a blocked port, missing dependencies,
6:39:15 PM [Apache] improper privileges, a crash, or a shutdown by another method.
6:39:15 PM [Apache] Press the Logs button to view error logs and check
6:39:15 PM [Apache] the Windows Event Viewer for more clues
6:39:15 PM [Apache] If you need more help, copy and post this
6:39:15 PM [Apache] entire log window on the forums
Try stopping the process using “net stop http” or change the port to some other number other than 80, 81. Let me know whether it worked for you
5:02:41 PM [Apache] Status change detected: stopped
Try stopping the process using “net stop http” or change the port to some other number other than 80, 81. Let me know whether it worked for you
tq.
Thank you for your comment
no its not working
Try stopping the process using “net stop http” or change the port to some other number other than 80, 81. Let me know whether it worked for you
Still not working with your logic.
Try stopping the process or change the port to some other number other than 80, 81. Let me know whether it worked for you
thanks this shit worked
Happy that it worked for you 🙂