Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
PHP 7.2 Cloud9
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
Copy link

israteneda commented Jun 1, 2018


Copy link

Dafnie commented Sep 16, 2018

xdebug does not work after update

Copy link

nununoisy commented Sep 16, 2018

Would it be helpful to add a sudo apt-get update at the beginning?

Copy link

nekokun11 commented Dec 18, 2018

thx man :3

Copy link

masa555 commented Dec 29, 2018


Copy link

ysbostan commented Feb 23, 2019

its works! clean and basic thanks.

Copy link

shovonrahmanshuvo commented Mar 3, 2019


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment