title: Installing Predis
body: <p>So I just started to learn Redis and tried to install it for PHP using this link :- <a href="https://github.com/nrk/predis" rel="nofollow noreferrer">https://github.com/nrk/predis</a></p>
  
  <p>I installed it via composer and then ran :-</p>
  
  <pre><code>require 'autoload.php';
  $client = new Predis\Client(array('host' =&gt; "127.0.0.1", "port" =&gt; 6379, array("prefix" =&gt; "php:")));
  
  $client-&gt;set("string:k", "something");
  </code></pre>
  
  <p>However, this generates error :-</p>
  
  <pre><code>Fatal error: Uncaught Error: Class 'Predis\Configuration\Options' not found in /Library/WebServer/Documents/redis/2/src/Client.php on line 74
  
  Error: Class 'Predis\Configuration\Options' not found in /Library/WebServer/Documents/redis/2/src/Client.php on line 74
  </code></pre>
  
  <p>What is wrong here?</p>