Created
October 26, 2020 08:07
-
-
Save Knase/01829bf5f193dde38009d2190922400e to your computer and use it in GitHub Desktop.
Switch php versions on commandline 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
#Interactive switching mode | |
sudo update-alternatives --config php | |
# | |
sudo update-alternatives --set php /usr/bin/php7.4 | |
sudo update-alternatives --set phar /usr/bin/phar7.4 | |
sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment