'I a trying to update my server to php7.1 version but I am facing an issue
I have been trying to update the server for the latest PHP version 7.1 but I am being unsuccessful. I am getting the following error when I try apt-get upgrade
E: Some index files failed to download. They have been ignored, or old ones used instead.
Any help with a lead to help me finish my update is really appreciated.
Need to update PHP from 5.6 to 7.1 but I am unsuccessful just by doing an apt-get update && an apt-get upgrade
Solution 1:[1]
Try ondrej PHP
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install -y php7.1
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Fran Cerezo |
