Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
sudo apt-get update
sudo add-apt-repository -y ppa:ondrej/php
sudo apt-get install -y php7.0
sudo apt-get update
sudo apt-get install -y php7.0-mysql libapache2-mod-php7.0 php-mbstring
sudo a2dismod php5
sudo a2enmod php7.0
sudo apachectl restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment