# PHP version for Composer

**URL:** <https://community.localwp.com/t/php-version-for-composer/602>\
**Category:** Support\
**Created:** [January 25, 2017, 8:29pm UTC](https://community.localwp.com/t/php-version-for-composer/602 "2017-01-25T20:29:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![clay](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/clay/32/8248_2.png) [@clay](https://community.localwp.com/u/clay)\
**Post date:** [January 25, 2017, 8:34pm UTC](https://community.localwp.com/t/php-version-for-composer/602/2 "2017-01-25T20:34:23Z")

</div>

Hey Justin,

You can install Composer in a site container by doing the following:

1. Right-click on the site and go to “Open Site SSH”
2. Enter `apt-get update && apt-get install -y curl`
3. Enter `curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer`
4. After that, you can immediately use `composer`

---

_[View the full topic](https://community.localwp.com/t/php-version-for-composer/602)._
