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 Mac OS X

May Loh
May Loh
5,213 Points

Would Team Treehouse suggest a different PHP server instead of MAMP for our lessons? It can't even install.

I've tried installing the latest MAMP and the previous versions (2.2). The former couldn't install and the latter's zip file came up entirely empty. I checked and found several alternatives. Can we have lessons based on others instead since having only one option pretty much gets us stuck and dead.

4 Answers

Benjamin Lim
Benjamin Lim
17,880 Points

G'day May,

MAMP is the de-facto installation for Mac OSX based computers. It's a combination of a Apache webserver, a PHP server, MySQL database for Macs, hence the acronym MAMP. The other combos would be XAMPP and LAMP (Linux). MAMP is by far the easier to install compared to installing each of the components themselves. Hope this helps.

May Loh
May Loh
5,213 Points

Whereas it's de-facto, it won't even install. It failed and miserably. And there's absolutely no help whatsoever. It's a death sentence for anyone who needs it. I've checked and done as much research on the problem and no solutions whatsoever. So alternatives are what's left. Better them than crying or banging my head against the wall.

Benjamin Lim
Benjamin Lim
17,880 Points

You are installing MAMP on a Mac computer yes?

Oly Su
Oly Su
6,119 Points

Hi May,

My colleagues have introduced me to Vagrant boxes and I've found them really handy as they can create environments that resemble the production site.

As a web designer it's a bit challenging for me to set up, but once you get your head around it, it's really easy to have different environments on your local machine.

If you're interested you can check out https://www.vagrantup.com/

May Loh
May Loh
5,213 Points

Benjamin: Yes. I posted about it not long ago.

Benjamin Lim
Benjamin Lim
17,880 Points

Hope the following links would help you...

http://sawmac.com/mamp/

http://www.youtube.com/watch?v=LjNKHGFgAXU

If you could post up the error message or a screenshot, it would be easier to see what the issue is. Hope this helps.

May Loh
May Loh
5,213 Points

Hi Benjamin,

Thanks. I finally managed to get it to work. There may have been something strangely wrong with my WIFI at home. Thank you for helping, I really appreciate it.

Benjamin Lim
Benjamin Lim
17,880 Points

That's great to hear May... onward with the journey!! All the best. ;)