title: MongoDB and php in Ubuntu 11.04
body: <p>I have install <strong>php</strong> and then <strong>mongodb</strong> using aptitude. I wrote following program:</p>
  
  <pre><code>   &lt;?php
  
  $m = new Mongo();
  
  $db = $m-&gt;selectDB("Employees");
  
  ?&gt;
  </code></pre>
  
  <p>and i got following error</p>
  
  <blockquote>
    <p>PHP Fatal error:  Class 'Mongo' not found in /var/www/test.php on line 4</p>
  </blockquote>
  
  <p>I saw my php version it is:</p>
  
  <p><strong>PHP 5.3.5-1ubuntu7.2 with Suhosin-Patch (cli) (built: May  2 2011 23:18:30)</strong> </p>
  
  <p>Can anybody tell me why this problem is coming?</p>