Your RunCloud server is equipped with multiple PHP Versions starting from PHP Version 5.5. However, your server doesn't know which PHP Version is the default version to use. In this section, you can tell the server which php-cli version to use as default version.


The usage of php-cli is to run php in command line mode such as running in Cron or Supervisord. Composer will also run according to this php-cli version.

If you have problem running composer or php, most likely you didn't run ssh as interactive mode. To fix the problem, just issue below command.

source /etc/profile.d/