php-redis & php-igbinary

1. Issue

1
+ php7.3 /usr/local/bin/composer install --ansi
2
PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so'
3
(tried: /usr/lib/php/20180731/redis.so (/usr/lib/php/20180731/redis.so: undefined symbol: igbinary_serialize),
4
/usr/lib/php/20180731/redis.so.so (/usr/lib/php/20180731/redis.so.so: undefined symbol: igbinary_serialize))
5
in Unknown on line 0
Copied!

2. Solution

Outdated PHP package php-igbinary (2.x) may cause that issue /usr/lib/php/20180731/redis.so: undefined symbol: igbinary_serialize
1
[email protected]:# dpkg -l | grep php
2
3
php-igbinary 2.0.6~rc1-1+ubuntu16.04.1+deb.sury.org+1
4
php-redis 4.3.0-1+ubuntu16.04.1+deb.sury.org+1
Copied!
Solution is re-install both php-redis & php-igbinary
1
[email protected]:# apt install php-redis php-igbinary
2
...
Copied!
After that, they're working smoothly. Here is new version of php-igbinary
1
php-igbinary 3.0.1+2.0.8-1+ubuntu16.04.1+deb.sury.org+1
2
php-redis 4.3.0-1+ubuntu16.04.1+deb.sury.org+1
Copied!
Last modified 2yr ago
Copy link