Last active
July 27, 2018 00:52
-
-
Save matthewboman/00a9f2fc7fc33d86d73fdffee854cc35 to your computer and use it in GitHub Desktop.
Installing PHP 7.2 on Debian 9 (Strech)
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-get update | |
sudo apt-get upgrade | |
sudo apt-get install apt-transport-https lsb-release ca-certificates | |
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg | |
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list | |
sudo apt-update | |
sudo apt-get install php7.2 | |
sudo apt-get install php7.2-cli php7.2-common php7.2-curl php7.2-gd php7.2-json php7.2-mbstring php7.2-mysql php7.2-opcache php7.2-readline php7.2-xml php7.2-zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment