Solved composer command

hmaddy

Verified User
Joined
Apr 17, 2019
Messages
288
How to run this command on server.

composer install --ignore-platform-req=php

Not working here and throwing the error like

[root@vikasserver ~]# composer install --ignore-platform-req=php
-bash: composer: command not found
 
That means composer isn’t installed (globally), run:

Code:
cd /usr/local/directadmin/custombuild
./build update
./build composer

Now composer is installed, verify with command

Code:
composer
 
Back
Top