Created
July 23, 2015 15:05
-
-
Save danpette/f8f7c220c609c36db416 to your computer and use it in GitHub Desktop.
Update to latest php when having mongo pecl installed on ubuntu
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
#Step 1 | |
sudo apt-get install software-properties-common | |
sudo add-apt-repository ppa:ondrej/php5-5.6 | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install php5 | |
#step 2 | |
apt-get update | |
apt-get install php5-dev | |
pecl uninstall mongo | |
pecl install mongo | |
/etc/init.d/php5-fpm restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment