Topic: issue upgrading remi's php 5.6 to 7.0 - Plesk 12.5 - CentOS 6.7
Hallo,
how can I upgrade remi's PHP 5.6 to PHP 7 on CentOS 6.7 with Plesk 12.5?
Current php version:
php -v
PHP 5.6.20 (cli) (built: Mar 31 2016 07:24:47)
...
yum repolist enabled
...
base CentOS-6 - Base 6.575
epel Extra Packages for Enterprise Linux 6 - x86_64 12.217
extras CentOS-6 - Extras 62
remi-php56 Remi's PHP 5.6 RPM repository for Enterprise Linux 6 - x86_64 393
remi-safe Safe Remi's RPM repository for Enterprise Linux 6 - x86_64 632
updates CentOS-6 - Updates 1.560
Disabling the PHP 5.6 repo:
yum-config-manager --disable remi-php56
Enabling the PHP 7 repo:
yum-config-manager --enable remi-php70
yum repolist enabled
...
base CentOS-6 - Base 6.575
epel Extra Packages for Enterprise Linux 6 - x86_64 12.217
extras CentOS-6 - Extras 62
remi-php70 Remi's PHP 7.0 RPM repository for Enterprise Linux 6 - x86_64 226
remi-safe Safe Remi's RPM repository for Enterprise Linux 6 - x86_64 632
updates CentOS-6 - Updates 1.560
When running update getting this errors:
yum update
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
epel/metalink | 26 kB 00:00
* epel: mirror.imt-systems.com
* remi-php70: rpms.remirepo.net
* remi-safe: rpms.remirepo.net
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
remi-php70 | 2.9 kB 00:00
remi-safe | 2.9 kB 00:00
updates | 3.4 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package php.x86_64 0:5.6.20-1.el6.remi will be updated
---> Package php.x86_64 0:7.0.5-2.el6.remi will be an update
---> Package php-cli.x86_64 0:5.6.20-1.el6.remi will be updated
---> Package php-cli.x86_64 0:7.0.5-2.el6.remi will be an update
---> Package php-common.x86_64 0:5.6.20-1.el6.remi will be updated
---> Package php-common.x86_64 0:7.0.5-2.el6.remi will be an update
---> Package php-gd.x86_64 0:5.6.20-1.el6.remi will be updated
---> Package php-gd.x86_64 0:7.0.5-2.el6.remi will be an update
---> Package php-imap.x86_64 0:5.6.20-1.el6.remi will be updated
---> Package php-imap.x86_64 0:7.0.5-2.el6.remi will be an update
---> Package php-intl.x86_64 0:5.6.20-1.el6.remi will be updated
---> Package php-intl.x86_64 0:7.0.5-2.el6.remi will be an update
---> Package php-json.x86_64 0:7.0.5-2.el6.remi will be obsoleting
---> Package php-mbstring.x86_64 0:5.6.20-1.el6.remi will be updated
---> Package php-mbstring.x86_64 0:7.0.5-2.el6.remi will be an update
---> Package php-mcrypt.x86_64 0:5.6.20-1.el6.remi will be updated
---> Package php-mcrypt.x86_64 0:7.0.5-2.el6.remi will be an update
---> Package php-mysqlnd.x86_64 0:5.6.20-1.el6.remi will be updated
--> Processing Dependency: php-mysql for package: psa-php5-configurator-1.7.0-cos6.build1205150820.19.x86_64
Package php-mysql-5.3.3-46.el6_7.1.x86_64 is obsoleted by php-mysqlnd-5.6.20-1.el6.remi.x86_64 which is already installed
---> Package php-mysqlnd.x86_64 0:7.0.5-2.el6.remi will be an update
---> Package php-pdo.x86_64 0:5.6.20-1.el6.remi will be updated
---> Package php-pdo.x86_64 0:7.0.5-2.el6.remi will be an update
---> Package php-pecl-jsonc.x86_64 0:1.3.9-1.el6.remi.5.6 will be obsoleted
---> Package php-pecl-zip.x86_64 0:1.13.2-1.el6.remi.5.6 will be updated
---> Package php-pecl-zip.x86_64 0:1.13.2-1.el6.remi.7.0 will be an update
---> Package php-process.x86_64 0:5.6.20-1.el6.remi will be updated
---> Package php-process.x86_64 0:7.0.5-2.el6.remi will be an update
---> Package php-xml.x86_64 0:5.6.20-1.el6.remi will be updated
---> Package php-xml.x86_64 0:7.0.5-2.el6.remi will be an update
--> Finished Dependency Resolution
Error: Package: psa-php5-configurator-1.7.0-cos6.build1205150820.19.x86_64 (@PLESK_12_5_30-dist)
Requires: php-mysql
Removing: php-mysqlnd-5.6.20-1.el6.remi.x86_64 (@remi-php56)
php-mysql = 5.6.20-1.el6.remi
Updated By: php-mysqlnd-7.0.5-2.el6.remi.x86_64 (remi-php70)
Not found
Available: php-mysql-5.3.3-40.el6_6.x86_64 (base)
php-mysql = 5.3.3-40.el6_6
Available: php-mysql-5.3.3-46.el6_6.x86_64 (updates)
php-mysql = 5.3.3-46.el6_6
Available: php-mysql-5.3.3-46.el6_7.1.x86_64 (updates)
php-mysql = 5.3.3-46.el6_7.1
Available: php-pecl-mysql-1.0.0-0.8.20151007git294ce3b.el6.remi.7.0.x86_64 (remi-php70)
php-mysql = 1:1.0.0
Available: php-pecl-mysql-1.0.0-0.9.20151007git294ce3b.el6.remi.7.0.x86_64 (remi-php70)
php-mysql = 1:1.0.0
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
How could this be resolved?