标签:
<?php $redis = new \Redis(); $redis->connect(‘127.0.0.1‘,6379); //进行密码验证 $redis->auth(‘我的密码‘); $redis->set(‘test‘,‘hello world!‘); echo $redis->get("test");
php扩展redis
原文地址:http://www.cnblogs.com/liuyt/p/5508375.html