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

WordPress Local WordPress Development Local WordPress Development Installing a Local Web Server on a PC

I installed Xampp and when I clicked to start Apache, I got an error message. What do I need to do?

I followed the instructions and when I clicked start Apache it came back with an error message.

Screenshot http://s27.postimg.org/kfvqgcx6b/apache_error.jpg

Hugo Paz
Hugo Paz
15,622 Points

Hi Veronica,

If you are using the latest Skype, go to Tools -> Options -> Advanced -> connection. Disable the "Use port 80 and 443 for alternatives for incoming connections"

Sign Out and Close all Skype windows. Try restart your Apache again.

3 Answers

Mandeep Bhasin
Mandeep Bhasin
1,475 Points

The Skype Option really worked for me here! IT seemed the easiest to do... =)

Warren Leyes
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Warren Leyes
Front End Web Development Techdegree Graduate 31,767 Points

Though i know Hugo Paz did suggest best (IMO) answer alternatively if you want to leave skype as is or just some other methods for testing. you could always change the port for xampp's apache via [XAMPP Installation Folder]/apache/conf/httpd.conf search for string "Listen 80" change it to the port of your choosing also need to update the port listed at ServerName to match. or to check and troubleshoot you can once again navigate from command line to the path c:\xampp\apache\bin\httpd.exe" (assuming a default install) and run httpd.exe -k start =, if the port is being used or any other issues it will tell you so instead of just failing without reason.

Thanks everyone for your help. I did some research on my own and found a somewhat different solution. I did not get to try Hugo's answer but from the forums I saw it seemed like the most common solution.

The way I resolved it was by going in to the command prompt on my computer and disabling all the applications that were using port 80, 443. I would suggest anyone that has Skype on their computer to try Hugo's solution first and if that fails, try going to the apache friends support forum and try some of the solutions there.

https://community.apachefriends.org/f/viewtopic.php?f=16&t=69784

Debby Beachy
Debby Beachy
Courses Plus Student 2,096 Points

The Skype was the best solution for me as XAMPP works perfectly. Skype still works great too, it's just using a different port. Thanks db