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 Building Websites with PHP Dependency Management Introducing Composer

Trying to install composer, I don't know what to do with:Choose the command-line PHP you want to use:

I recognize the words, I have been using the command prompt in Python, I have Mamp installed and I have used it. That being said...I'm clueless as to what to do. I tried looking it up, but I couldn't find what I was supposed to look for. I found this:

  • if you are using xampp . see it under /xampp/php/php.exe . If are you using wampp it will be under /wamp/bin/php../php.exe – Bikash
  • I looked in Mamp, but I didn't see anything like those things

I just tried doing a search of my c drive, nothing came up that matched php.exe

2 Answers

Alena Holligan
STAFF
Alena Holligan
Treehouse Teacher

John Larson have you tried following the installation guides?

https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx

You don't really need to worry about MAMP, as composer runs separately.

Thanks Alena, that looks like I might be able to do that.

Hi John, sorry I cannot be of any assistance here my knowledge lies with PHP for WordPress. Maybe Alena Holligan will spot this and help you out :)

Craig

Thanks Craig