composer use different php version code example Example: composer use different php version /usr/bin/php7.1 /usr/local/bin/composer update