Composer installation at cPanel

How to install and setup Composer at HostBrook or GoDaddy Linux shared hosting with cPanel.
Written by Admin Last update: June 10, 2021

By default, Composer is pre-installed on HostBrook and GoDaddy hostings, but you do not have a possibility to update to the newest version because you don't have root permissions at the shared hosting plans. But this is not a problem at all. In this article, we explain how to install Composer locally, just for your cPanel account.

Get SSH access to your hosting

You have two options to get access to your cPanel command line:

  1. Via terminal emulator, like PuTTY

    Note: Do not forget to enable SSH at the server settings of your account:
    Manage WebHosting -> Dashboard -> Settings -> tab "Server" -> SSH access -> Manage

  2. Using online interface in the cPanel:
    cPanel Admin -> section "Advanced" -> Terminal

Install Composer

Now you can use the latest version of the Composer in any folder at your hosting.
Use composer self-update command to keep your Composer updated.

Was this article helpful?

Related articles