Topic: Problem updating from php 5.5 to php 5.6

I am trying to update php to 5.6 on a server.Unfortunately code is not ready for php 7 yet


Loaded plugins: fastestmirror, priorities
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: centos.mirror.constant.com
* epel: mirror.symnds.com
* extras: centos.mirror.constant.com
* remi-php55: remi.mirrors.cu.be
* remi-php56: remi.mirrors.cu.be
* updates: centos.mirror.constant.com
remi-php55                                               | 2.9 kB     00:00
remi-php56                                               | 2.9 kB     00:00
Resolving Dependencies
--> Running transaction check
---> Package php-cli.i686 0:5.5.21-1.el6.remi will be updated
---> Package php-cli.i686 0:5.6.18-1.el6.remi will be an update
---> Package php-common.i686 0:5.5.21-1.el6.remi will be updated
---> Package php-common.i686 0:5.6.18-1.el6.remi will be an update
---> Package php-fpm.i686 0:5.5.21-1.el6.remi will be updated
---> Package php-fpm.i686 0:5.6.18-1.el6.remi will be an update
---> Package php-gd.i686 0:5.5.21-1.el6.remi will be updated
---> Package php-gd.i686 0:5.6.18-1.el6.remi will be an update
--> Processing Dependency: gd-last(x86-32) >= 2.1.1 for package: php-gd-5.6.18-1.el6.remi.i686
---> Package php-mbstring.i686 0:5.5.21-1.el6.remi will be updated
---> Package php-mbstring.i686 0:5.6.18-1.el6.remi will be an update
---> Package php-mcrypt.i686 0:5.5.21-1.el6.remi will be updated
---> Package php-mcrypt.i686 0:5.6.18-1.el6.remi will be an update
---> Package php-mysqlnd.i686 0:5.5.21-1.el6.remi will be updated
---> Package php-mysqlnd.i686 0:5.6.18-1.el6.remi will be an update
---> Package php-opcache.i686 0:5.5.21-1.el6.remi will be updated
---> Package php-opcache.i686 0:5.6.18-1.el6.remi will be an update
---> Package php-pdo.i686 0:5.5.21-1.el6.remi will be updated
---> Package php-pdo.i686 0:5.6.18-1.el6.remi will be an update
---> Package php-pecl-jsonc.i686 0:1.3.6-1.el6.remi.5.5.1 will be updated
---> Package php-pecl-jsonc.i686 0:1.3.9-1.el6.remi.5.6 will be an update
---> Package php-pecl-ssh2.i686 0:0.12-2.el6.remi.5.5 will be updated
---> Package php-pecl-ssh2.i686 0:0.12-3.el6.remi.5.6 will be an update
---> Package php-pecl-zip.i686 0:1.12.4-1.el6.remi.5.5 will be updated
---> Package php-pecl-zip.i686 0:1.13.1-1.el6.remi.5.6 will be an update
--> Processing Dependency: libzip.so.4 for package: php-pecl-zip-1.13.1-1.el6.remi.5.6.i686
---> Package php-process.i686 0:5.5.21-1.el6.remi will be updated
---> Package php-process.i686 0:5.6.18-1.el6.remi will be an update
---> Package php-tidy.i686 0:5.5.21-1.el6.remi will be updated
---> Package php-tidy.i686 0:5.6.18-1.el6.remi will be an update
---> Package php-xml.i686 0:5.5.21-1.el6.remi will be updated
---> Package php-xml.i686 0:5.6.18-1.el6.remi will be an update
---> Package php-xmlrpc.i686 0:5.5.21-1.el6.remi will be updated
---> Package php-xmlrpc.i686 0:5.6.18-1.el6.remi will be an update
--> Finished Dependency Resolution
Error: Package: php-gd-5.6.18-1.el6.remi.i686 (remi-php56)
           Requires: gd-last(x86-32) >= 2.1.1
           Installed: gd-last-2.1.0-3.el6.remi.i686 (@remi)
               gd-last(x86-32) = 2.1.0-3.el6.remi
Error: Package: php-pecl-zip-1.13.1-1.el6.remi.5.6.i686 (remi-php56)
           Requires: libzip.so.4
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


How can i fix those errors

Thanks remi

Re: Problem updating from php 5.5 to php 5.6

You need "remi-safe" which is enabled by default, but seems disabled in your configuration.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Problem updating from php 5.5 to php 5.6

Thanks remi ...adding remi-safe repo fixed it

Re: Problem updating from php 5.5 to php 5.6

smile

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi