Instructions for installing PHP Composer on a MediaTemple Grid Service account.
# Using PHP Composer (getcomposer.org) on MediaTemple Grid Service
# Article: http://jamieonsoftware.com/journal/2012/10/4/using-composer-on-gs.html
mkdir path/to/install/bin
cd path/to/install/bin
# Installing Composer
curl -s https://getcomposer.org/installer | php -d allow_url_fopen=1 -d suhosin.executor.include.whitelist=phar
# ... and then to run composer.phar:
php -d memory_limit=512M -d allow_url_fopen=1 -d suhosin.executor.include.whitelist=phar composer.phar
# Optional
# --------
vim ~/.profile
# alias Composer install and run commands
alias get_composer="curl -s https://getcomposer.org/installer | php -d allow_url_fopen=1 -d suhosin.executor.include.whitelist=phar"
alias composer="php -d memory_limit=512M -d allow_url_fopen=1 -d suhosin.executor.include.whitelist=phar composer.phar"
# Save, and reload the profile (this will be done automatically next login):
source ~/.profile