Today I updated PHP 5.5 on my LEMP stack to version 5.5.35. After the update, I received a screen message saying that repo ppa: ondrej / php5 is out of date, and if I want to continue to receive php updates, I have to go to ppa: ondrej / php which now includes PHP 5.5, PHP 5.6 and PHP 7.0 in one place . Previously, these versions were in different repositories.
I followed Ondřej's advice and I ran:
sudo add-apt-repository ppa:ondrej/php
And then:
sudo apt-get update
sudo apt-get upgrade
Everything went fine, except that two packages were hidden: php-pear and pkg-php-tools . This, of course, happens from time to time when package dependencies change, so I run:
sudo apt-get install php-pear pkg-php-tools
, :
php-cli php-common php-xml php7.0-cli php7.0-common php7.0-json php7.0-opcache php7.0-readline php7.0-xml
, - . , , PHP 7.0, PHP 5.5? , , . , , . , , PHP ?
php -v
:
PHP 7.0.6-1+donate.sury.org~trusty...
, , ? PHP 7.0 / ? nginx php-fpm, nginx.conf, , nginx php5-fpm.sock, php5-fpm . , , PHP .
, phpinfo. , PHP 5.5.35. , , ssh , PHP 7.0.6, phpinfo , PHP 5.5.35.
, :
sudo apt-get remove php7.0-common
php7.0 , , .
, PHP SSH, 5.5.35. , . , php-pear pkg-php-tools, php7.0 .
/etc/php5 /etc/php. 7.0, cli .
- , ? php5 php7.0 ? , LEMP + Wordpress?