link:
https://github.com/phpredis/phpredis/blob/develop/README.markdown#rawcommand php redis類的講解
http://www.cnblogs.com/zcy_soft/archive/2012/09/21/2697006.html 中文手冊
redis方法列表
connect($ip,$port) //連接redis
auth($auth) //驗證密碼
rawCommand
set($key,$value,$expire)
get($key)
dbSize();
flushAll()
flushDb()
info()
lastsave()
resetStat()
save()
slaveOf()
time()
slowLog()
rawCommand 方法 對服務器執行任何通用命令
//添加成員
$redis->rawCommand('geoadd','as','116.435253','39.959753','as10');
//獲取成員周圍的人
$redis->rawComand('getradiusbymembers','as','as1','5','km','asc','withdist');