[BadFunctionCallException]
not support: redis
确认已安装redis且有其他站点在使用,但是一直都提示这个,如果缓存换成file,就提示redis 扩展 miss
搞了2个小时,崩溃了
Failed loading /usr/local/ioncube/ioncube_loader_lin_7.2.so: /usr/local/ioncube/ioncube_loader_lin_7.2.so: undefined symbol: _zval_ptr_dtor
Failed loading /www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: /www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: undefined symbol: _zval_ptr_dtor
PHP Warning: PHP Startup: fileinfo: Unable to initialize module
Module compiled with module API=20170718
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/memcached.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/memcached.so: cannot open shared object file: No such file or directory), /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/memcached.so.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: redis: Unable to initialize module
Module compiled with module API=20170718
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: bt_safe: Unable to initialize module
Module compiled with module API=20170718
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: exif: Unable to initialize module
Module compiled with module API=20170718
PHP compiled with module API=20190902
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/ixed.lin' (tried: /www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/ixed.lin (/www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/ixed.lin: undefined symbol: _zval_ptr_dtor), /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902//www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/ixed.lin.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902//www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/ixed.lin.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/yaf.so' (tried: /www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/yaf.so (/www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/yaf.so: undefined symbol: _zval_ptr_dtor), /www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902//www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/yaf.so.so (/www/server/php/74/lib/php/extensions/no-debug-non-zts-20190902//www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/yaf.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[BadFunctionCallException]
not support: redis
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
怎么解决的
我也碰到这情况,怎么解决啊??
检查系统默认php版本,然后开启redis扩展就行了,我一开始也懵逼,我其他网站应用redis都用的好好的,后来想到在安装的时候运行命令的时候调用的是系统默认php,而不是你指定的版本,所以把默认版本的php redis扩展打开就好了。
sudo apt-get install php-redis
就可以了
登录 后才可以发表评论