Connecting to a Redis instance
suggest changeThis 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);
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents