We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Cannot connect to Redis

Development and Programming

bbgadmin's avatar
bbgadmin
17 posts
5 years ago
bbgadmin's avatar bbgadmin

I’m having an issue where I’ve installed Redis and started the Redis server, but EE complains “Cannot connect to Redis, using File driver instead.”

When I’m ssh-ed into the server I’m able to get and set items in Redis using the command line, so Redis is definitely functioning and is accessible on localhost with the standard port.

How would I go about troubleshooting this error? I don’t see any connection errors logged to the developer log.

Thanks!

       
Gfive(tm)'s avatar
Gfive(tm)
40 posts
5 years ago
Gfive(tm)'s avatar Gfive(tm)
  • Did you install redis-php module?
  • Does redis use a password?

/system/user/config/config.php

$config['redis'] = array( 'host' => '127.0.0.1', 'password' => 'password if any', 'port' => 6379, 'timeout' => 0 );

       
macgeek1's avatar
macgeek1
1 posts
5 years ago
macgeek1's avatar macgeek1

test

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.