Topic: Can't install php-pecl-igbinary from php70 repo

Can't install php-pecl-igbinary from php70 repo with yum --enablerepo=remi-php70 install php-pecl-igbinary

Resolving Dependencies
--> Running transaction check
---> Package php-pecl-igbinary.x86_64 0:1.2.1-1.el7.remi.5.6 will be installed
--> Processing Dependency: php(zend-abi) = 20131226-64 for package: php-pecl-igbinary-1.2.1-1.el7.remi.5.6.x86_64
--> Processing Dependency: php(api) = 20131106-64 for package: php-pecl-igbinary-1.2.1-1.el7.remi.5.6.x86_64
--> Finished Dependency Resolution
Error: Package: php-pecl-igbinary-1.2.1-1.el7.remi.5.6.x86_64 (remi-php56)
           Requires: php(zend-abi) = 20131226-64
           Installed: php-common-7.0.0-0.10.RC7.el7.remi.x86_64 (@remi-php70)
               php(zend-abi) = 20151012-64
           Available: php-common-5.4.16-23.el7_0.3.x86_64 (base)
               php(zend-abi) = 20100525-64
           Available: php-common-5.4.16-36.el7_1.x86_64 (updates)
               php(zend-abi) = 20100525-64
           Available: php-common-5.4.45-1.el7.remi.x86_64 (remi)
               php(zend-abi) = 20100525-64
           Available: php-common-5.4.45-2.el7.remi.x86_64 (remi)
               php(zend-abi) = 20100525-64
           Available: php-common-5.6.14-1.el7.remi.x86_64 (remi-php56)
               php(zend-abi) = 20131226-64
           Available: php-common-5.6.15-1.el7.remi.x86_64 (remi-php56)
               php(zend-abi) = 20131226-64
           Available: php-common-7.0.0-0.9.RC6.el7.remi.x86_64 (remi-php70)
               php(zend-abi) = 20151012-64
Error: Package: php-pecl-igbinary-1.2.1-1.el7.remi.5.6.x86_64 (remi-php56)
           Requires: php(api) = 20131106-64
           Installed: php-common-7.0.0-0.10.RC7.el7.remi.x86_64 (@remi-php70)
               php(api) = 20151012-64
           Available: php-common-5.4.16-23.el7_0.3.x86_64 (base)
               php(api) = 20100412-64
           Available: php-common-5.4.16-36.el7_1.x86_64 (updates)
               php(api) = 20100412-64
           Available: php-common-5.4.45-1.el7.remi.x86_64 (remi)
               php(api) = 20100412-64
           Available: php-common-5.4.45-2.el7.remi.x86_64 (remi)
               php(api) = 20100412-64
           Available: php-common-5.6.14-1.el7.remi.x86_64 (remi-php56)
               php(api) = 20131106-64
           Available: php-common-5.6.15-1.el7.remi.x86_64 (remi-php56)
               php(api) = 20131106-64
           Available: php-common-7.0.0-0.9.RC6.el7.remi.x86_64 (remi-php70)
               php(api) = 20151012-64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Re: Can't install php-pecl-igbinary from php70 repo

Because igbinary extention is not yet compatible with PHP 7

See http://blog.remirepo.net/pages/PECL-ext … RPM-status

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: Can't install php-pecl-igbinary from php70 repo

Thanks remi, after digging on github I see igbinary still faling some tests, well guess I will need to use phpredis (compiled from source) without that for now.

Re: Can't install php-pecl-igbinary from php70 repo

I also don't think phpredis is in good shape for 7.0....

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: Can't install php-pecl-igbinary from php70 repo

I use: git clone -b php7 https://github.com/phpredis/phpredis.git

That compile fine, also appear on phpinfo(), I don't see any error on php-fpm and/or cli error logs and don't notice any error on my apps (main drupal ones).

6 (edited by S.A.N 2015-11-12 21:12:53)

Re: Can't install php-pecl-igbinary from php70 repo

Instead of Igbinary, it is better to use the MessagePack, it is better performance
https://pecl.php.net/package/msgpack

Re: Can't install php-pecl-igbinary from php70 repo

Thanks for the tip S.A.N, I will dig more about that tomorow, due the late hour here I'm, stuck on this issue https://github.com/phpredis/phpredis/pull/404