Topic: php-pecl-redis does not work
Hello there,
I am running a Cenos6.6 server with Apache 2.2 and php5.5 from remi.
Now I wanted to install the php redis support for the web projects.
After the installation of "php-pecl-redis.x86_64 0:2.2.7-1.el6.remi.5.5" php gives an error message on each startup:
"
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/redis.so' - /usr/lib64/php/modules/redis.so: undefined symbol: igbinary_unserialize in Unknown on line 0
"
this is strange because "php-pecl-igbinary" is installed
so I removed "php-pecl-redis" and downloaded it and compiled it with "pecl install redis".
now it works, but i would definitely prefer the repository installation for the version and coherency control.
It seems as if the packages needs to be recompiled with the updated php headers.
# yum history info 80
Loaded plugins: fastestmirror, priorities
Transaction ID : 80
Begin time : Fri Jun 5 10:46:29 2015
Begin rpmdb : 463:6c391fdf8945a15662385fa02912039d5564a8d4
End time : 10:46:38 2015 (9 seconds)
End rpmdb : 468:9fd0fdcdc4ee20dc691b8853a3eaefcbdb927c25
Return-Code : Success
Command Line : install redis redis-debuginfo php-pecl-redis php-pecl-redis-debuginfo
Transaction performed with:
Installed rpm-4.8.0-37.el6.x86_64 @base
Installed yum-3.2.29-43.el6.centos.noarch @updates
Installed yum-plugin-fastestmirror-1.1.30-17.el6_5.noarch @updates
Packages Altered:
Dep-Install jemalloc-3.6.0-1.el6.x86_64 @epel
Install php-pecl-redis-2.2.7-1.el6.remi.5.5.x86_64 @remi-php55
Install php-pecl-redis-debuginfo-2.2.7-1.el6.remi.5.5.x86_64 @remi-php55-debuginfo
Install redis-3.0.1-1.el6.remi.x86_64 @remi
Install redis-debuginfo-3.0.1-1.el6.remi.x86_64 @remi-debuginfo
Scriptlet output:
1 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/redis.so' - /usr/lib64/php/modules/redis.so: undefined symbol: igbinary_unserialize in Unknown on line 0
history info
# rpm -qi php-pecl-igbinary
Name : php-pecl-igbinary Relocations: (not relocatable)
Version : 1.2.1 Vendor: Remi Collet
Release : 1.el6.remi.5.5 Build Date: vie 29 ago 2014 08:23:42 WEST
Install Date: mar 07 oct 2014 15:31:41 WEST Build Host: schrodingerscat.famillecollet.com
Group : System Environment/Libraries Source RPM: php-pecl-igbinary-1.2.1-1.el6.remi.5.5.src.rpm
Size : 110897 License: BSD
Signature : DSA/SHA1, vie 29 ago 2014 08:32:52 WEST, Key ID 004e6f4700f97f56
Packager : blog.famillecollet.com/
URL : pecl.php.net/package/igbinary
Summary : Replacement for the standard PHP serializer
Description :
Igbinary is a drop in replacement for the standard PHP serializer.
Instead of time and space consuming textual representation,
igbinary stores PHP data structures in a compact binary form.
Savings are significant when using memcached or similar memory
based storages for serialized data.