When you're using SSH, you may want to define the explicit PHP version when you execute scripts via the command line, since the default one can change at any given time.
The version usually changes depending on what's defined in the .htaccess file, however, some tools such as composer will see the system-wide version if you don't specify it.
To call composer with a specific version, you have to use it as follows:
ea-php71 /usr/local/bin/composer
ea-php72 /usr/local/bin/composer
ea-php73 /usr/local/bin/composer
Comments
0 comments
Please sign in to leave a comment.