Created
February 1, 2017 17:46
-
-
Save andreas22/44324d27efd3e50e5170cc9e21832141 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 |
I have the same issue too
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package php7.1
E: Couldn't find any package by glob 'php7.1'
E: Couldn't find any package by regex 'php7.1'
~ » uname -a
Linux alihossein-Lenovo-Z50-70 4.8.0-59-generic #64-Ubuntu SMP Thu Jun 29 19:38:34 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am having the same issue while upgrading to 7.1, not sure what is the solution to this.