Last active
November 6, 2020 16:48
-
-
Save artemsky/2fc432c1561bd2a7c57e47fe5e0c88d7 to your computer and use it in GitHub Desktop.
PHP 7.2 Cloud9
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-get install python-software-properties -y | |
sudo add-apt-repository ppa:ondrej/php -y | |
sudo apt-get update -y | |
sudo apt-get install php7.2 php-pear php7.2-curl php7.2-dev php7.2-gd php7.2-mbstring php7.2-zip php7.2-mysql php7.2-xml | |
sudo apt-get install libapache2-mod-php7.2 -y | |
sudo a2dismod php5 | |
sudo a2enmod php7.2 | |
sudo service apache2 restart |
thx man :3
Thanks
its works! clean and basic thanks.
Great!!!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would it be helpful to add a
sudo apt-get update
at the beginning?