BenjaminAdams / wp-redis-cache

Cache Wordpress faster
157 stars 37 forks source link

sockets with predis #24

Closed repat closed 10 years ago

repat commented 10 years ago

If you use predis, the way to create the socket connection is

$redis = new Predis_Client(array(
    'scheme' => 'unix',
    'path'   => $redis_server
  ));

I also included a switch for this: $sockets.

Also, there was a typo, $reddis_server instead of $redis_server.

Explained everything in README.md.

BenjaminAdams commented 10 years ago

Thanks mate