Support » Plugin: Redis Object Cache » Redis cluster connection to WP issue

  • Resolved Carsten Lund


    Hi there, I have set up an AWS ElastiCache, Redis (cluster mode disabled) cluster, and I’m trying to connect it to WordPress usin this plugin.

    My Security group are in the same VPS as my Lightsail instance security group.

    In my WHM/cPanel under PHP PECL Module installers I have installed redis (5.3.2) module, but the plugin say’s:

    ‘The PhpRedis extension is not installed’

    Is the redis (5.3.2) module not the PhpRedis extension requested here?

    And the Diagnostics says connection refused:

    Connection Exception: Connection refused [tcp://] (Predis\Connection\ConnectionException)
    Errors: [
    “Connection refused [tcp:\/\/]”
    PhpRedis: Not loaded
    Predis: 1.1.6
    Credis: Not loaded
    PHP Version: 7.3.26
    Plugin Version: 2.0.17
    Redis Version: Unknown

    Apparently there is a port issue.
    I have read the documentation at AWS about endpoints.This explains how to find and copy endpoints, but not where they should be pasted into?

    Finding Connection Endpoints

    Any help to set up the connection between my AWS Redis cluster and WordPress will be much appreciated, thanks!


Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Carsten Lund


    After reading your ‘Before you post’, I can see that my questions are a bit of the scope of this plugin.

    In AWS documentation ‘Speeding up WordPress with Amazon ElastiCache for Memcached’, only Memcache and not Redis are mentioned in relation to WordPress

    Is Memcached generally a more easy approach to object cache, if you are not an experienced developer, compared to Redis?

    Which object cache, Memcached or Redis would you recommend for caching dynamic content in WordPress/BuddyPress?


    Plugin Author Till Krüss


    I prefer Redis by a lot over Memcached. Memcached has it’s applications in massive distributed systems, but most 99% of people Redis is a good choice.

    AWS’ security groups are a pain. I can’t help with that unfortunately, since the security between EC2 and ElastiCache is outside the scope here 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.