Created
May 9, 2017 03:42
-
-
Save quangpd/1336f7fc839d6d0660e77d5da5019486 to your computer and use it in GitHub Desktop.
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
# Upgrade your server’s php installation from 5.5.x to 5.6.x on Ubuntu 14.04 LTS | |
sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install php5.6 php5.6-cli php5.6-common php5.6-curl php5.6-dev php5.6-gd php5.6-intl php5.6-json php5.6-ldap php5.6-mbstring php5.6-mcrypt php5.6-memcache php5.6-memcached php5.6-mysql php5.6-pgsql php5.6-readline php5.6-sqlite php5.6-xml php5.6-xsl libzip4 php5.6-zip | |
sudo apt-get update && apt-get upgrade | |
sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php5-compat | |
sudo apt-get update | |
sudo apt-get dist-upgrade | |
sudo a2dismod php5 | |
sudo a2enmod php5.6 | |
sudo service apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment