首页 > 代码库 > reids 扩展

reids 扩展

pecl.php.net   search:redis

wget http://...

tar zxf redis-xx.tgz

/usr/local/php56/bin/phpize    //编译php56

./configure --with-php-config=usr/local/php56/bin/php-config

make && make install

vi php.ini 添加extension=redis.so

重启php

查看phpinfo()看看 是否安装成功

reids 扩展