Last active
September 26, 2019 11:52
-
-
Save ambercouch/6dfa83826724aa76006373b859574d3a to your computer and use it in GitHub Desktop.
Install Composer On Webfaction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ln -s `which php72` ~/bin/php | |
export PATH=$HOME/bin:$PATH | |
cd bin | |
curl -sS https://getcomposer.org/installer | php72 | |
echo -e "\n# Composer\nalias composer=\"php72 \$HOME/bin/composer.phar\"" >> $HOME/.bash_profile | |
source $HOME/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment