thinkphp5操作redis 报错$this->handler->connect($this->options['host'], $this->options['port'], $this->op

如果出现   $this->handler->connect($this->options['host'], $this->options['port'], $this->options['timeout']);

查看是否安装了redis扩展  参考地址:https://www.kancloud.cn/he_he/thinkphp5/825063

以上都没有问题  在看下是否开启了Redis服务

在执行该程序   应该是没有问题的 

 


版权声明:本文为qq_37138818原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。