Support » Plugin: Redis Object Cache » PhpRedis Extension not recognised

  • Resolved sk8walker96

    (@sk8walker96)


    Hello,

    I’ve been upgrading php to 7.3.9 before i was using the 7.2.21 and it always says on the debug

    Status: Conectado
    Client: PhpRedis (v5.0.2)
    Drop-in: Valid
    Ping: 1
    Redis Extension: 5.0.2
    Predis Client: 1.1.1
    PHP Version: 7.2.21

    But now i’m getting this debug info when updating to php 7.3

    Status: Connected
    Client: Predis (v1.1.1)
    Drop-in: Valid
    Ping: PONG
    Redis Extension: Not Found
    Predis Client: 1.1.1
    PHP Version: 7.3.9

    I’ve compiled the extension from source and result was success by getting
    Installing shared extensions: /usr/lib64/php/7.3/modules/

    Do you have any idea how i can get the extension working?

    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • You probably need to reinstall it.

    pecl install redis

    zsebacsi

    (@zsebacsi)

    same problem here
    Status: Disabled
    Client:
    Drop-in: Invalid
    Redis Extension: Not Found
    Predis Client: 1.1.1
    PHP Version: 7.3.10-1+ubuntu18.04.1+deb.sury.org+1
    Multisite: No

    can’t enable redis object cache in WP

    I’ve installed php7.3-redis, server is working, can connect from CLI
    redis php extension is enabled also (via phpinfo)
    tried installing via pecl, no success.

    any guesses?

    Plugin Author Till Krüss

    (@tillkruess)

    It PhpRedis is installed and loaded it would show up. You can stick with Predis or consult your server admin for help.

    I had the same issue on Ubuntu 18.04, restarting Nginx had no effect, you have to restart fpm (and/or cli if you use that) after the pecl install (5.1.1 on mine) and adding the .so extension to your php.ini, ex:

    service php7.3-fpm restart

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