DEV Community

Pradeep Kumar
Pradeep Kumar

Posted on • Edited on

Run composer install/update on specific version of php in cpanel/whm

Make sure installed php using whm easyphp.

To run composer for specific php version use following command:

ea-php<php-version> /opt/cpanel/composer/bin/composer install
Enter fullscreen mode Exit fullscreen mode

eg:

ea-php72 /opt/cpanel/composer/bin/composer install
ea-php74 /opt/cpanel/composer/bin/composer install
ea-php80 /opt/cpanel/composer/bin/composer install
Enter fullscreen mode Exit fullscreen mode

Top comments (0)