路径和php.ini里面都加了,然后一重启php-fpm就报错
具体错误如下:
Starting php-fpm [08-Oct-2018 11:43:56] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so: undefined symbol: zval_used_for_init), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so: undefined symbol: zval_used_for_init), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0