Created
May 8, 2019 04:08
-
-
Save TotalLag/bae62972dac56dc2a09c8628af4332f6 to your computer and use it in GitHub Desktop.
Upgrade PHP on Debian
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 apt install -y apt-transport-https lsb-release ca-certificates | |
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg | |
sudo sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list' | |
sudo apt update | |
sudo apt-get install -y php7.3 php7.3-common | |
sudo apt-get install -y php7.3-curl php7.3-xml php7.3-zip php7.3-gd php7.3-mysql php7.3-mbstring php7.3-sqlite3 | |
sudo apt-get purge -y php7.0 php7.0-common |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment