Connecting to a Redis instance

suggest change

Assuming a default server running on localhost with the default port, the command to connect to that Redis server would be:

$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