Using the Composer PHP package manager (Tutorial)

Опубликовано: 13 Март 2026
на канале: 20i
1,599
9

Composer is a dependency manager for PHP. It's not available by default on the 20i platform, as we use a thin version of PHP. However, it can be activated quickly and easily provided that you have SSH access.

Here's an example of using PHP 7.1 to execute Composer:

/usr/bin/php71 -f /usr/bin/composer

So the complete command would become:

/usr/bin/php71 -f /usr/bin/composer install

A list of available PHP versions is presented to you in the message of the day (MOTD) once you login to SSH.

We have a couple of videos about enabling SSH here:
   • How to use SSH on a Mac with Terminal (Tut...   (Mac)
   • Connecting to a website via SSH on a Windo...   (Windows)

Start your UK Reseller Hosting business with 20i for only £1 - https://www.20i.com/reseller-hosting
US resellers get started for just $1 - https://www.20i.com/us/reseller-hosting

Get more web hosting and marketing insights & tips from the 20i blog: https://www.20i.com/blog/

Keep up with our latest updates on social media:
Twitter:   / hostedby20i  
Facebook:   / hostedby20i  
Instagram:   / hostedby20i  
Linkedin:   / 20i  

20i are committed to providing high-performance green hosting for agencies, ecommerce, business & side-hustlers across the world, with unmatched speed, reliability and 24x7 expert support.

#resellerhosting #business #entrepreneur #webhosting #php #phpdevelopers