cloudlinux install composer globaly for all users

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

vi /etc/cagefs/conf.d/composer.cfg

[composer]
comment=Composer
paths=/usr/local/bin/composer

cagefsctl --force-update

Leave a Reply

Your email address will not be published. Required fields are marked *