Skip to content

Instantly share code, notes, and snippets.

@iBobik
iBobik / install-composer.sh
Created Mar 1, 2015 — forked from matthewspencer/install-composer.sh
How to install Composer on Webfaction (PHP 5.5)
View install-composer.sh
cd $HOME
ln -s `which php55` ~/bin/php
export PATH=$HOME/bin:$PATH
curl -sS https://getcomposer.org/installer | php55
echo -e "\n# Composer\nalias composer=\"php55 \$HOME/composer.phar\"" >> $HOME/.bash_profile
source $HOME/.bash_profile