Created
March 11, 2019 18:08
-
-
Save dpossas/b4647116418703d833e26c4f541aa882 to your computer and use it in GitHub Desktop.
Configurar PHP 7.2 - Cloud 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 add-apt-repository ppa:ondrej/php -y | |
sudo apt-get update -y | |
sudo apt-get install php7.2-curl php7.2-cli php7.2-dev php7.2-gd php7.2-intl php7.2-json php7.2-mysql php7.2-opcache php7.2-bcmath php7.2-mbstring php7.2-soap php7.2-xml php7.2-zip -y | |
sudo mv /etc/apache2/envvars /etc/apache2/envvars.bak | |
sudo apt-get remove libapache2-mod-php5 -y | |
sudo apt-get install libapache2-mod-php7.2 -y | |
sudo cp /etc/apache2/envvars.bak /etc/apache2/envvars |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment