Created
October 14, 2020 03:56
-
-
Save phanlyhuynh/a5873859f4483f4bc6e1023139549eff to your computer and use it in GitHub Desktop.
Downgrade php7.4 to php7.3
This file contains 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 add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install php7.3 | |
sudo apt-get install php7.3-cli php7.3-common php7.3-json php7.3-opcache php7.3-mysql php7.3-mbstring php7.3-zip php7.3-fpm php7.3-intl php7.3-simplexml | |
sudo a2dismod php7.4 | |
sudo a2enmod php7.3 | |
sudo service apache2 restart | |
sudo update-alternatives --set php /usr/bin/php7.3 | |
sudo update-alternatives --set phar /usr/bin/phar7.3 | |
sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.3 | |
sudo update-alternatives --set phpize /usr/bin/phpize7.3 | |
sudo update-alternatives --set php-config /usr/bin/php-config7.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment