• Resolved akrobs

    (@akrobs)


    Hi!
    I’m installed and configure Redis Server as unix socket. In default settings with TCP work perfect!
    If i change setting to use unix socket not work. Other web app work fine with Redis Server as unix socket.
    In WordPress i’m installed Redis Object Cache plugin.
    My setings is:
    wp-config.php
    define(‘WP_CACHE’, true);
    define(‘WP_REDIS_SCHEME’, ‘unix’);
    define(‘WP_REDIS_PATH’, ‘/var/run/redis/redis.sock’);
    define(‘WP_REDIS_CLIENT’, ‘pecl’);

    In diagnose window:
    Status: Not connected
    Client: PhpRedis (v3.1.6)
    Drop-in: Valid
    Ping: +PONG
    Redis Extension: 3.1.6
    Predis Client: 1.1.1
    PHP Version: 7.2.6
    Multisite: No
    Global Prefix: “wp_”
    Blog Prefix: “wp_”
    WP_REDIS_CLIENT: “pecl”
    WP_REDIS_SCHEME: “unix”
    WP_REDIS_PATH: “\/var\/run\/redis\/redis.sock”

    Whats wrong in my settings?
    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Work Perfect with TCP, dont work with UNIX socket!:(’ is closed to new replies.