我安装了PHP redis扩展.但是当我运行测试代码时,我收到以下错误:
原文链接:https://www.f2er.com/php/135417.htmlPHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/PHP5/20090626+lfs/redio.so' - /usr/lib/PHP5/20090626+lfs/redio.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Fatal error: Class 'Redis' not found in /var/www/test/redisTest.PHP on line 2
我的PHP版本是5.3.10,我安装了新版本的PHPredis.
我能得到你的帮助吗?
谢谢!
安装步骤如下:
git clone https://github.com/nicolasff/PHPredis.git cd PHPredis PHPize make make install