php7 / php7-redis is broken
I have installed php7 and php7-redis on Alpine 3.5, and php-redis appears to no longer be functional.
I get a warning from php when starting up that the redis.so cannot be found:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php7/redis.so' - Error loading shared library /usr/lib/php7/redis.so: No such file or directory in Unknown on line 0
Presumably this is down to redis.so being in /usr/lib/php7/modules, while the file at /etc/php/conf.d/20_redis.ini appears to try loading from /usr/lib/php7.
I tried symlinking and copying the .so to the expected place, and changing the path to the extension in the .ini, but the error message changes slightly to:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php7/modules/redis.so' - Error relocating /usr/lib/php7/modules/redis.so: call_user_function: symbol not found in Unknown on line 0
(from redmine: issue id 7064, created on 2017-03-28, closed on 2018-08-22)