Connecting to a Redis instance

suggest change

This uses the phpredis extension (Redis), not the Predis library. With Redis on localhost and the default port:

$redis = new Redis();
$redis->connect('127.0.0.1', 6379);

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents