How to solve the problem of PHP 5.6 with obsolete PPA in Linux?

5

I ran the sudo apt-get upgrade command and received the PHP PPA discontinuation message.

After updating the PHP version, when I run php -v , the following appears:

 PHP 5.6.23-1+deprecated+dontuse+deb.sury.org~trusty+1

In this case, if this PPA is obsolete, what should I do to resolve this problem?

    
asked by anonymous 05.07.2016 / 15:17

1 answer

5

The repository has changed as you can verify on this note . Add the

add-apt-repository ppa:ondrej/php

and update to apt-list :

sudo apt-get update

Then just install the desired version 5.5 , 5.6 , 7.0 , 7.1:

sudo apt-get install -y php5.6
    
05.07.2016 / 15:42