Last active
March 11, 2020 13:26
-
-
Save cosmomathieu/1c73af291396aff135bd65f72a939e16 to your computer and use it in GitHub Desktop.
Upgrading PHP 5.5.9 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 add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get install php5.6 php5.6-bcmath php5.6-bz2 php5.6-dba php5.6-imagick php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-soap php5.6-xml php5.6-zip | |
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