Change Laradock Php version with shell script

put .sh file in laradock directory

and run the file with version as parameter

./change-php.sh 7.1