Create a gist now

Instantly share code, notes, and snippets.

Install Composer on Webfaction
cd $HOME
ln -s `which php54` ~/bin/php
export PATH=$HOME/bin:$PATH
curl -sS https://getcomposer.org/installer | php54
echo -e "\n# Composer\nalias composer=\"php54 \$HOME/composer.phar\"" >> $HOME/.bash_profile
source $HOME/.bash_profile
@luismec90

It works! thanks a lot!

@sebacruz

Thanks man!

@mnpenner

Awesome! Thank you!

@trevorwestca

I have returned to this thread twice now for different webfaction accounts. Thanks for doing this.

@richpolis

Thank you!

@cesars1687

Gracias (Y)

@vivianspencer

awesome

@dxii
dxii commented Aug 11, 2015

Works perfect.

@ngstigator

starred. thanks!

@PaulKish

Thanks

@arandilopez

awesome!!! thank you!!! 👍

@johnnycho

THANK YOU! This was so helpful!

@lorenzschmid

Thanks a lot!

@zorobabel

This script is very useful, it worked not only for webfaction. Thanks!

@aricore
aricore commented Jul 27, 2016

Thank you!!!

@graphikjunkie

Couldn't find this anywhere in the webfaction documentation. Thanks!

@dhigby
dhigby commented Feb 19, 2017 edited

Thanks so much!!!
I replaced all php references with php70 and it worked great!

@rameyrobo

@dhigby

Thank you for that comment. I was racking my brain trying to get some php7 dependencies to work. I can verify that replacing instances of php54 with php70 did work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment