Browse Source

Update README.

Daniele Alessandri 14 years ago
parent
commit
e6e638b79e
1 changed files with 7 additions and 0 deletions
  1. 7 0
      README.markdown

+ 7 - 0
README.markdown

@@ -41,6 +41,13 @@ running on the localhost on the default port:
     $value = $redis->get('library');
 
 
+The default server profile with this version of Predis is set to Redis 2.0, so if 
+you want to connect to a Redis 2.2 instance and leverage some of its new commands 
+you should initialize the client by specifying the correct profile:
+
+    $redis = new Predis\Client('127.0.0.1', '2.2');
+
+
 ### Pipelining multiple commands to a remote instance of Redis ##
 
 Pipelining helps with performances when there is the need to issue many commands