Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Majid Mokhtari
Majid Mokhtari
10,506 Points

WAMPP problem! Apache does not start!!!

Anybody knows how to fix this?

This is the Error message:

11:56:25 AM [Apache] Status change detected: stopped 11:56:25 AM [Apache] Error: Apache shutdown unexpectedly. 11:56:25 AM [Apache] This may be due to a blocked port, missing dependencies, 11:56:25 AM [Apache] improper privileges, a crash, or a shutdown by another method. 11:56:25 AM [Apache] Press the Logs button to view error logs and check 11:56:25 AM [Apache] the Windows Event Viewer for more clues 11:56:25 AM [Apache] If you need more help, copy and post this 11:56:25 AM [Apache] entire log window on the forums

8 Answers

Logan R
Logan R
22,989 Points

Is skype on? If it is, close it out and try to start WAMPP. WAMPP needs port 80 to run and Skype will also use port 80, preventing WAMPP from using it and throwing an error.

Majid Mokhtari
Majid Mokhtari
10,506 Points

No I don't have Skype on! is there any other software that uses port 80?

Hey Majid, on your keyboard hit WINKEY + R and then execute:

httpd -t

and

httpd -k start

Let us know what it says.

Majid Mokhtari
Majid Mokhtari
10,506 Points

I cant execute the code you gave me! I think I am typing the wrong command

Check out this solution.

Majid Mokhtari
Majid Mokhtari
10,506 Points

Logan R, I still can find files remaining from Skype after I uninstalled it, is it might be because of that? should I remove all the files for Skype?

Logan R
Logan R
22,989 Points

No, it is only if skype is on. The files don't actually do anything.

James Barnett
James Barnett
39,199 Points

You are going to need to do some detective work.

Easiest way to do this is to open up powershell and run this command.

netstat -abn | Select-String "listening" -Context 0,1

That will list the name of every program that has a port open for listening on your computer. There will probably be a lot of output, if you can't make heads or tails of it you can post it to a gist and link it here.

Majid Mokhtari
Majid Mokhtari
10,506 Points

I fixed it! it was another program "VMware Workstation" that was using the same port! Thanks for the HELP!