• Resolved hordeim

    (@hordeim)


    I use roots.io/bedrock and am trying to get object caching to work. I have redis installed and the following works fine:

    <?php
       //Connecting to Redis server on localhost
       $redis = new Redis();
       $redis->connect('127.0.0.1', 6379);
       echo "Connection to server sucessfully";
       //check whether server is running or not
       echo "Server is running: "+ $redis->ping();
    ?>

    I can see the ping through redis-cli monitor

    Unfortunately, using your plugin, it shows that Redis is not installed (using the same 127.0.0.1/6379).

    I also get the following:
    Notice: Undefined property: WP_Object_Cache::$redis_client in /srv/http/site/web/wp/wp-includes/cache.php on line 327

    https://wordpress.org/plugins/redis-cache/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Are you using the HHVM or the PCEL extension?

    Same issue here, Redis is up and running, but the plugin insists upon “Redis Status: Not Installed”.

    Plugin Author Till Krüss

    (@tillkruess)

    @hussong: Do you have the PECL Redis extension installed?

    IIRC yes, but I’m not 100% sure at this point. Would love to provide better feedback, but we’ve already removed the config, sorry!

    Hmm, I have now got same issue.

    ===
    Redis Status Not installed
    Configuration
    Protocol: TCP
    Host: 127.0.0.1
    Port: 6379
    Database: 1
    Password: ****************
    Key Prefix: example.com
    ===

    ===
    root@public01 [~]# pecl install redis
    pecl/redis is already installed and is the same as the released version 2.2.7
    ===

    ===
    root@public01 [~]# php -m | grep redis
    redis
    ===

    PECL has to match Redis version?

    ===
    root@public01 [~]# rpm -qa | grep redis
    redis-3.2-0.4.rc3.el6.remi.x86_64
    ===
    ===
    root@public01 [~]# pecl install redis
    pecl/redis is already installed and is the same as the released version 2.2.7
    ===

    Plugin Author Till Krüss

    (@tillkruess)

    The “Redis Status” is misleading, I’ll improve that in the next version. Redis Status is referring in your case to the WP Dropin file.

    Be sure to click “Enable Object Cache”, that should fix it.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Redis Status: Not Installed’ is closed to new replies.