title: Class 'MongoClient' not found in CentOS
body: <p>PHP 5.5.22</p>
  
  <p>PHP mongo driver already installed</p>
  
  <p>See the <code>phpInfo()</code></p>
  
  <p><a href="https://i.stack.imgur.com/bCgDM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bCgDM.png" alt="mongodb extension"></a></p>
  
  <p>In Terminal</p>
  
  <pre><code>$ php -i | grep 'Configuration File'
  Configuration File (php.ini) Path =&gt; /usr/local/lib
  Loaded Configuration File =&gt; /usr/local/lib/php.ini
  
  $ php -i | grep mongo
  mongodb
  mongodb support =&gt; enabled
  mongodb version =&gt; 1.1.1
  mongodb stability =&gt; stable
  libmongoc version =&gt; 1.3.1-dev
  mongodb.debug =&gt; no value =&gt; no value
  </code></pre>
  
  <p>But still, get this error</p>
  
  <p><a href="https://i.stack.imgur.com/XSBPX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XSBPX.png" alt="MongoClient not found"></a></p>
  
  <p>Any one faced this problem before? How you solve it?</p>