redis包

https://pecl.php.net/package/redis

https://pecl.php.net/package/redis/2.2.7/windows

https://pecl.php.net/package/igbinary/2.0.1/windows

Architecture x86
PHP Extension Build API20131226,NTS,VC11
Loaded Configuration File D:\phpStudy\php\php-5.6.27-nts\php.ini

wind 7 redis包:redis-2.4.5-win32-win64

$redis = new \Redis();
//链接redis服务器
$redis -> connect(‘127.0.0.1’,6379);

$redis -> set(‘test’,’cpq’);

$aa = $redis -> get(‘test’);
var_dump($aa);

 

redis 哈希组设置

https://blog.csdn.net/a5816138/article/details/81110736

 

2019-01-19
暂无评论

发表评论