TP3.2下面 new 不出来redis

浏览:4965 发布日期:2014/09/15 分类:求助交流 关键字: redis think3.2
已经安装radis;
php可以new出来;
TP下就new不出来public function test2(){
        $redis = new Redis();    
        $redis->connect('localhost', '6379');
        $redis->set('test','hao');
        echo $redis->get('test');
    }
最佳答案
评论() 相关
后面还有条评论,点击查看>>