Created
March 8, 2017 10:55
-
-
Save jamalnasir/506ddea91600859b2f19231a09c2c1c7 to your computer and use it in GitHub Desktop.
Upgrading PHP from 5.5 to 5.6
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 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