How do I install Composer on my hosting? Print

  • 33

Composer is not installed by default on our servers, but it is very easy to install it on your hosting account.

To do so, you must have SSH access to your account, which is available as an option with our PERSO and EXPERT packages and is included in our ULTIMATE packages. If you wish to activate SSH access on your account, simply send us an email at support@tizoo.com.

To install Composer, connect via SSH and run the following commands:

mkdir bin
cd bin/
wget https://getcomposer.org/installer
php installer
rm installer
cd
echo 'alias composer="/usr/bin/php-cli ~/bin/composer.phar"' >> .bashrc

The "composer" command is now available.

 

Was this answer helpful?

Back