Last active
December 9, 2020 08:52
-
-
Save iamdylanngo/d0bb5a260c75c476afe621bfc8203a25 to your computer and use it in GitHub Desktop.
install-php7.2-ubuntu16.04
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
// update ubuntu | |
sudo apt update | |
// add PHP repository | |
sudo apt-get install software-properties-common python-software-properties | |
or | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository -y ppa:ondrej/php | |
// update ubuntu | |
sudo apt update | |
// install php 7.2 | |
sudo apt install php7.2-common php7.2-cli php7.2-fpm php7.2-opcache php7.2-gd php7.2-mysql php7.2-curl php7.2-intl php7.2-xsl php7.2-mbstring php7.2-zip php7.2-bcmath php7.2-soap | |
// check status php7.2 | |
sudo service php7.2-fpm status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment