Skip to content

Install PHP Composer Manually in Webuzo

How do I install PHP Composer in Webuzo?

Currently, it's not possible to install the PHP Composer from the App Install function in Webuzo. However, it's possible to install it manually on the server using the following commands.

Step 01: Download the composer's files through the following command,

curl -sS https://getcomposer.org/installer | php

Step 02: Move the downloaded files to the proper place,

mv composer.phar /usr/bin/composer

Step 03: Create symlink

ln -s /usr/bin/composer /etc/alternatives/composer

Verify the installation with:

composer -V

Is it safe to install PHP Composer in a shared hosting environment with Webuzo?

Yes, Composer is safe to use in a shared hosting environment and is commonly used for managing PHP dependencies.