• Resolved exactprecisions

    (@exactprecisions)


    Can someone help me with redis? I have it installed. redis-cli ping returns pong. I installed the redis object cache plugin and input the wp-config.php values and enable but it says ‘not connected’

    define(‘WP_CACHE’, true);
    define(‘WP_REDIS_PORT’, 6380);
    define(‘WP_CACHE_KEY_SALT’,’string’);
    //tried with 127.0.0.1 && localhost
    define(‘WP_REDIS_HOST’, ‘redis’);

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter exactprecisions

    (@exactprecisions)

    define(‘WP_CACHE’, true);
    define(‘WP_CACHE_KEY_SALT’, ‘string’);
    define(‘WP_REDIS_CLIENT’, ‘pecl’);
    define(‘WP_REDIS_SCHEME’, ‘tcp’);
    define(‘WP_REDIS_HOST’, ‘127.0.0.1’);
    define(‘WP_REDIS_PORT’, ‘6379’);

    This worked for me.

    Thread Starter exactprecisions

    (@exactprecisions)

    .

    Plugin Author Till Krüss

    (@tillkruess)

    Did you get it sorted?

    Thread Starter exactprecisions

    (@exactprecisions)

    Yes I did

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Connection Exception: Redis server went away (RedisException)’ is closed to new replies.