PHPredis fails to Set, where Predis works fine... Any suggestions? #34395
Unanswered
j-fulbright
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are wanting to move to PHPredis since it is the recommended default now, but am running into a case where it is throwing a random error about being unable to connect to the server.
We are using this method:
Redis::set($redisKey, 'test', 'EX', 1800);
which works fine on Predis.I have even tried
Redis::set($redisKey, 'test', 1800);
and it throws the same communication error.I'm running redis-cli monitor and can plainly see it trying to do something when it hits that command but it just blows up.
There are other places that call Redis::set and those seem to function as expected, but I'm not seeing any differences anywhere.
Beta Was this translation helpful? Give feedback.
All reactions