-
-
Save arbaouimehdi/c10d135437ff657cd0379ef5a63ea837 to your computer and use it in GitHub Desktop.
Upgrade to php 7.1 in 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
accepted | |
There is no official PHP 7.1 in the Ubuntu 16.04 repos. | |
If you want PHP 7.1, there is a version available in ppa:ondrej/php | |
You can install it like this: | |
sudo add-apt-repository ppa:ondrej/php | |
sudo apt-get update | |
sudo apt-get upgrade | |
(optional) sudo apt-get remove php7.0 | |
sudo apt-get install php7.1 (from comments) | |
Remember that this is not an official upgrade path. The PPA is well known, and is relatively safe to use. | |
The PPA has co-installable packages (you can have multiple versions of PHP installed from that PPA). ~muru |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment