redis基础使用教程: http://www.cnblogs.com/taceywong/p/5840163.html

php中的使用redis简单实例。

    if(FALSE == $this->redis->get('seeNums'))
    {
	$this->redis->set('seeNums', 1);
	$this->redis->expire('seeNums', 60 * 60 * 24);
    }
    else
    {
	$this->redis->incrby('seeNums', 1);
    }
    $seeNums = $this->redis->get('seeNums');

redis易百教程:http://www.yiibai.com/redis/strings_incr.html

redis与php结合的应用场景:

http://www.jb51.net/article/84803.htm

https://www.v2ex.com/t/341617

http://www.open-open.com/code/view/1436282712380

http://www.csdn.net/article/2014-08-14/2821203

http://www.thinksaas.cn/topics/0/583/583831.html

http://www.jb51.net/article/81257.htm