Viewing 2 replies - 1 through 2 (of 2 total)
  • am interested in this, am using socket for my HHVM setup

    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    Yes, you can connect to Redis via a socket instead of TCP/IP.

    WP Redis connects to Redis with PhpRedis. The latter’s connect() method supports using a socket in the first argument. Thus, in your wp-config.php, you’d want to pass the socket as the host argument:

    $redis_server = array( 'host' => '/path/to/redis.sock' );

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘connect to redis using socket?’ is closed to new replies.