HostOnNet Blog

Installing composer on Cpanel Server

Looking for Linux Server Admin or WordPress Expert? We can help.


To install composer on Cpanel server, run

cd /usr/local/bin/
curl -s | php
mv composer.phar composer
chmod +x composer

If you get error related to phar, you need to run EasyApache and enable phar, this can be done through WHM.

Posted in Cpanel Server

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.