• Resolved csmicfool

    (@csmicfool)


    I’m reading that phpredis is faster than using Predis. Can this plugin be used with phpredis?

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

    (@tillkruess)

    Yes, I recommend PHP 7 and PhpRedis 3.0.0 for optimal performance.

    Thread Starter csmicfool

    (@csmicfool)

    To clarify – I’ve build phppredis from source and installed but not via PECL.

    (running an older distro)

    • This reply was modified 9 years, 6 months ago by csmicfool.
    Plugin Author Till Krüss

    (@tillkruess)

    That should work. If not, let me know.

    Thread Starter csmicfool

    (@csmicfool)

    The plugin appears to still default to predis. If I update the config to “pecl” like so, it still uses predis:

    define(‘WP_REDIS_CLIENT’,’pecl’);

    Thread Starter csmicfool

    (@csmicfool)

    Testing out some naked calls against phpredis to be sure it’s not on my end too.

    Plugin Author Till Krüss

    (@tillkruess)

    Can you make sure PhpRedis is installed by running:

    
    <?php var_dump( class_exists( 'Redis' ) ); ?>
    
    Thread Starter csmicfool

    (@csmicfool)

    I solved it. Was related to TLS support (using Azure Redis).

    Appreciate the fast responses.

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

The topic ‘Compatible with phpredis?’ is closed to new replies.