Created
June 18, 2019 15:59
-
-
Save elminson/a043ce5bdebbe8d7afdd8687947424df to your computer and use it in GitHub Desktop.
update php 7.3 debian 9
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 apt install ca-certificates apt-transport-https | |
wget -q https://packages.sury.org/php/apt.gpg -O- | sudo apt-key add - | |
echo "deb https://packages.sury.org/php/ stretch main" | sudo tee /etc/apt/sources.list.d/php.list | |
sudo apt update | |
sudo apt install php7.3 php7.3-cli php7.3-common php7.3-curl php7.3-mbstring php7.3-mysql php7.3-xml php7.3-gd | |
sudo apt-get purge php7.0-common | |
sudo apt install phpmyadmin* | |
sudo a2enmod php7.3 | |
sudo /etc/init.d/apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment