title: Fatal error: Class 'MongoClient' not found?
body: <p>I have used MongoDB3.0 with PHP version 5.3.5 and PHP Driver version 1.1.4. i have tried to insert record to collection i got Fatal error class Mongo client Not fount</p>
  
  <p>insert.php</p>
  
  <pre><code>&lt;?php   
         // connect to mongodb
     $m = new MongoClient("mongodb://localhost:27017");
     echo "Connection to database successfully";
  
     // select a database
     $db = $m-&gt;sample;
     echo "Database mydb selected";
     $collection = $db-&gt;testcoll;
     echo "Collection selected succsessfully";
  
     $document = array( 
        "title" =&gt; "MongoDB", 
        "description" =&gt; "database", 
        "likes" =&gt; 100,
        "url" =&gt; "http://www.tutorialspoint.com/mongodb/",
        "by", "tutorials point"
     );
  
     $collection-&gt;insert($document);
     echo "Document inserted successfully";
  
  
  ?&gt; 
  </code></pre>
  
  <p>I have also attached PHP driver info <a href="https://i.stack.imgur.com/ZSLKd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZSLKd.png" alt="enter image description here"></a></p>