Redis Object Cache – not connected
-
Hi everyone,
I’m super new to WP back-end stuff (graphic designer, not a web developer) and am trying to set up Redis to help speed up my site. I got it set up on Cloudways, the server I’m using, and installed the plugin on the WP side. I clicked “Enable Object Cache” and it reloaded to show me the connection status was “not connected.” I thought I did everything right?Here’s what I found under “Diagnostics”:
Status: Not connected Client: Drop-in: Valid Disabled: No Ping: Connection Exception: Connection refused [tcp://127.0.0.1:6379] (Predis\Connection\ConnectionException) Errors: [ "Connection refused [tcp:\/\/127.0.0.1:6379]" ] PhpRedis: Not loaded Predis: 1.1.6 Credis: Not loaded PHP Version: 7.3.11 Plugin Version: 2.0.21 Redis Version: Unknown Multisite: No Metrics: Disabled Metrics recorded: null Filesystem: Working Global Prefix: "wp_"
And here’s what I saw under “Overview”:
Drop-in: Valid
Key Prefix: thescoringmethod.com
Connection Status: Not connectedWhat does this mean? I tried purging the Varnish cache on Cloudways and restarting Redis on Cloudways as well, but that didn’t solve anything. I used a tutorial published by Cloudways to install Redis (https://www.cloudways.com/blog/install-redis-cache-wordpress/) where it tole me to add this: define(‘WP_CACHE’, true); under where it says <?php, and then this: define(‘WP_CACHE_KEY_SALT’, ‘thescoringmethod.com’); under the Salt Keys Section. That still didn’t fix anything. What am I doing wrong?
- The topic ‘Redis Object Cache – not connected’ is closed to new replies.