cjs / redis
The cjs redis package.对redis操作的封装.
1.0.5
2020-09-12 00:01 UTC
Requires
- php: >=5.4.0
This package is auto-updated.
Last update: 2024-12-21 13:11:04 UTC
README
cjs,redis,cjs redis, jelly redis
依赖说明并安装
当前仓库代码依赖php的redis.so扩展
https://github.com/phpredis/phpredis
安装redis.so
git clone https://github.com/phpredis/phpredis.git
cd phpredis
phpize
./configure --with-php-config=/usr/bin/php-config
make
sudo make install
配置php.ini
php --ini
vi /etc/php.ini
extension_dir=/usr/lib/php/extensions/no-debug-non-zts-20160303/
extension=redis.so
查看模块: php -m | grep redis