Recently, I’ve upgraded PHP to version 7.0.4. After that I tried to re-install Redis client (PHP Redis) by following steps similar to these instructions.
However, when I run PHP I get the following error:
$ php -v PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/redis.so' - /usr/lib/php/20151012/redis.so: undefined symbol: zval_used_for_init in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/redis.so' - /usr/lib/php/20151012/redis.so: undefined symbol: zval_used_for_init in Unknown on line 0
Does anyone have an idea how to solve this?
Advertisement
Answer
In beginning of march 2016 stable branch of phpredis does not support php7. But you can use it with php7-brunch. It still has some bugs but actually can be used.