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

PHP Build a Simple PHP Application Getting Started with PHP Install PHP on Windows 7

Ignaty Vlasov
Ignaty Vlasov
1,462 Points

XAMPP instalation problems

I installed XAMPP on my computer but when I click Start (under actions) in XAMPP control panel V3.2.1 it shows me this message:

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

I checked the apache friends support forum and runned control panel as administrator but result is the same. What to do? Is there alternative to XAMPP?

Hey Ignaty Vlasov,

What version of Windows are you running, and where did you install XAMPP to?

Ignaty Vlasov
Ignaty Vlasov
1,462 Points

I'm using Windows 7 Home. I installed it from https://www.apachefriends.org/index.html to disc C on my computer. In the tutorial at treehouse it was mentioned that it is still ok to do that

Okay, and where did you install XAMPP to on your computer?

3 Answers

Heidi Sergel
Heidi Sergel
7,179 Points

Do you have Skype installed on your machine? I've heard that can cause issues w/XAMPP (since it uses port 80). Try changing the port settings for Skype if you do have that. You might also check your firewall settings.

Ignaty Vlasov
Ignaty Vlasov
1,462 Points

Heidi, I do have Skype installed and I checked it actually has port 80 and 443 defiend there. I'm not quiet familiar with port system of the computer. How do I change it?

Heidi Sergel is absolutely correct. Skype and XAMPP are both server technologies and are both set up to use port 80. You should be able to follow the example on this site of how to set Skype to not use port 80 for connections, though: Skype and XAMPP Working together in harmony

Ignaty Vlasov
Ignaty Vlasov
1,462 Points

Thank you very much, this was a skype XAMPP shared problem, now it's working. Appreciate your help!!

I'm glad you solved it! I went ahead and marked Heidi's answer as Best Answer, if you don't mind. She was the one with the right idea after all :)

Heidi Sergel
Heidi Sergel
7,179 Points

Awesome, glad that worked! And thank you, Marcus! :-)

Anytime! ^_^