This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# > /dev/null is disable the outputs of the commands | |
if [ $# -eq 0 ]; then | |
echo "Provide the PHP version to enable" | |
exit 0 | |
fi | |
for php in 5.6 7.1 7.2 7.3 | |
do | |
if [ $php == $1 ] |