Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP

Konrad Pilch
Konrad Pilch
2,435 Points

Port no aviable

HI,

Last year, i installed XAMP on Windows 8 . Now , after a year, onthe same machine, i installed MAMP. It says the port is taken. I changed the ports , but it still doesnt wokr. WHat should i do?

2 Answers

Kevin Korte
Kevin Korte
28,109 Points

You can uninstall one of these programs from your Control Panel in windows. I use XAMPP on my Windows 7 and 8 machine at work, and use MAMP on my personal Macbook Pro at home. Both function the same, giving me an htdocs folder to work out of.

It's common that skype interfers with these programs as it also listens on port 80. I changed XAMPP to listen to port 8080 and it works just fine now. That setting is in the httpd.conf file. There are some answers on Stack Overflow with how to do that.

Konrad Pilch
Konrad Pilch
2,435 Points

Oh, right , xd On the iMac i use, i have htdocs out on the screen and wherever i put it it works. Even if i have skype or not, it works anyways : p i guess its kinda luxury compare to windows : p

Here on windows, i have to modify and make changes like you said. I just preffer MAMP , i kinda have bad past with XAMP : p ( music brings memory like XAMP to me : p).

Thank you, i will do that.

Kevin Korte
Kevin Korte
28,109 Points

To not give yourself more headaches, I'd uninstall one, keep the other. No reason having both installed is there?

Konrad Pilch
Konrad Pilch
2,435 Points

I dint know how to uninstall xamp nd i re installed mamp, nd it kinda works but I can't get the htdocs to desktop nd i hv to type localhost :8888 because on the starting.g page there isn't link to ' My websites '. On IMac everything was just excellent. How I hate windows: p

Konrad Pilch
Konrad Pilch
2,435 Points

I noticed thath skype is blocking the port as well, i had to close it : p ohh how i hate windows xdd cant wait to buy my own iMac. Since im sharing it with somebody else and now i have windows for 2 motnhs : p