Created
April 10, 2018 16:48
-
-
Save khoatran/a33b9a1bf55156cc0733bc235ecc00e3 to your computer and use it in GitHub Desktop.
Switch between PHP version on Ubuntu
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
sudo update-alternatives --set php /usr/bin/php7.1 | |
sudo update-alternatives --set phar /usr/bin/phar7.1 | |
sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.1 | |
sudo update-alternatives --set phpize /usr/bin/phpize7.1 | |
sudo update-alternatives --set php-config /usr/bin/php-config7.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment