!redis

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-20 12:40:01
Original
1156 people have browsed it


如图代码,connect返回true
报错:Fatal error: Uncaught exception 'RedisException' with message 'protocol error, got 'E' as reply type byte ' in /var/www/test.php:6 Stack trace: #0 /var/www/test.php(6): Redis->set('test', 'hello world') #1 {main} thrown in /var/www/test.php on line 6

我的Redis Version 2.1.0


回复讨论(解决方案)

1、检查一下 redis 的端口和地址是否有错, 端口是否能访问
2、检查一下, redis 是否已经启动

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php redis connection problem
From 1970-01-01 08:00:00
0
0
0
About a small error in the redis manual
From 1970-01-01 08:00:00
0
0
0
python2.7 - django cannot connect to redis
From 1970-01-01 08:00:00
0
0
0
I can't connect to redis using php
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template