Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

run composer with specific php version

#/usr/bin/php7.1 /usr/local/bin/composer update
#or edit your composer.json file and specify the version you want
"config": {
    "platform": {
        "php": "7.1.3"
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #run #composer #specific #php #version
ADD COMMENT
Topic
Name
8+5 =