Skip to content

Instantly share code, notes, and snippets.

@jamalnasir
Created March 8, 2017 10:55
Show Gist options
  • Save jamalnasir/506ddea91600859b2f19231a09c2c1c7 to your computer and use it in GitHub Desktop.
Save jamalnasir/506ddea91600859b2f19231a09c2c1c7 to your computer and use it in GitHub Desktop.
Upgrading PHP from 5.5 to 5.6
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install php5.6
a2dismod php5*
a2enmod php5.6
service apache2 restart
sudo apt-get install php5.6-gd php5.6-mysql php5.6-dom php5.6-cli php5.6-json php5.6-common php5.6-mbstring php5.6-opcache php5.6-readline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment