Created
August 3, 2017 10:32
-
-
Save hitesh83/75f47675f80b3930cd9d154f4fc08258 to your computer and use it in GitHub Desktop.
PHP 5.6 on Ubuntu 16
This file contains hidden or 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 purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "` | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get install software-properties-common | |
sudo apt-get update | |
sudo apt-get install php5.6 | |
sudo apt-get install php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml php5.6-cli |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment