Install Composer on Webfaction

This entry was posted in Yii2 on 2018-07-09 by Eddy
986 Composer

Log in to your Webfaction with SSH

cd $HOME
ln -s `which php72` ~/bin/php
export PATH=$HOME/bin:$PATH
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

Now you can use composer

Exemple:

composer update

Comments

Showing 1-1 of 1 item.

latlov l*t*o*s*r*g*s*e*@yahoo.com

Man, after the...

Write comments

Math, for example, 45-12 = 33

Subscribe Now

You will receive a notification to each new article.

Tag Cloud

  • Composer
  • Yii2
  • OpenGraph
  • Helper
  • Wordpress
  • PhpMyAdmin
  • .htaccess
  • Config
  • Production
  • Git
  • Api
  • Mailchimp
  • Github
  • Vue.js