Error: Apache shutdown unexpectedly in windows 8 or windows 7 – xampp/wamp server

If you are getting this error

00:06:05 [Apache] Error: Apache shutdown unexpectedly.
00:06:05 [Apache] This may be due to a blocked port, missing dependencies,
00:06:05 [Apache] improper privileges, a crash, or a shutdown by another method.
00:06:05 [Apache] Check the “/xampp/apache/logs/error.log” file
00:06:05 [Apache] and the Windows Event Viewer for more clues

follow these steps

Go to your xampp/wamp installed, search for httpd.conf.

Open that file using textpad/notepad, search for Listen or 80 ,

update listen port to 8081 and save the file.

Restart xampp/wamp, start the servers.



15 Responses to “Error: Apache shutdown unexpectedly in windows 8 or windows 7 – xampp/wamp server”

  1. rajesh Says:

    I have changed my port to 81 , then the apche getting started but the localhost is not working in browser. In browser Http 404 error s coming..

  2. balasuBUS Says:

    thanks a lot it worked!

  3. malicia Says:

    Great! very easy for beginners!
    Thank you

  4. Kazim Says:

    Same Problem does not work!!! Please Help

  5. Careem Gilbert Says:

    It works!

  6. jatin Says:

    Great Thanks It works……..

  7. alok kumar tripathi Says:

    thanks now it working but whenever i type on chrome’s address bar there is an error comes that is “HTTP Error 404. The requested resource is not found.” plz help

  8. Manzoor Samad Says:

    Valid information

  9. Pooja Says:

    thank you.. i changed the port to 81 and it started working.. thanks a lott..!!!

  10. doyino Says:

    lord krishna bless u,i av been on this tyn for over an hour thanks

  11. adeshsuryan Says:

    Hi ,
    If you are using window 8 &7 with 64-bit . Then XAMPP directory should inside of C directory ( where window in install) and Run as administrator .

  12. giri Says:

    I got HTTP Error 404 now. what can I
    do now. can you help me

  13. Shubhra Shrivastava Says:

    its really helpful for me thank you 🙂

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: