Last active
March 30, 2016 11:11
-
-
Save jaonoctus/d8b47f5f7bd306ebbacd to your computer and use it in GitHub Desktop.
[VIRTUALMIN] UPGRADE PHP Version
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
echo 'deb http://packages.dotdeb.org wheezy-php56 all' >> /etc/apt/sources.list | |
echo 'deb-src http://packages.dotdeb.org wheezy-php56 all' >> /etc/apt/sources.list | |
gpg --keyserver keys.gnupg.net --recv-key 89DF5277 | |
gpg -a --export 89DF5277 | sudo apt-key add - | |
apt-get update | |
apt-get upgrade -y |
In my case, I should do : aptitude install php5
and to do Y/N confirmations.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
And after all, do this:
Comment this lines: