Last active
February 8, 2018 14:35
-
-
Save pmcfernandes/19821353c97f32b73993881a5a14086a to your computer and use it in GitHub Desktop.
Install PHP 5.6 in Ubuntu Server
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
# Install repo | |
sudo add-apt-repository ppa:ondrej/php | |
# Install software-properties-common | |
sudo apt-get install software-properties-common | |
# Install php 5.6 | |
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 | |
sudo php -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment