title: Install PHP driver for MongoDB on MAMP
body: <p>I'd like to install the PHP driver on MAMP 1.9.6 (OS X 10.5.8) and PHP 5.3</p>
  
  <p>I did all the stuff said on <a href="http://www.mongodb.org/display/DOCS/PHP+Language+Center" rel="nofollow">http://www.mongodb.org/display/DOCS/PHP+Language+Center</a>
  But it still won't work.</p>
  
  <p>If i try to connect it throws an error "Fatal Error: Class 'Mongo' not found"
  But in PHPStorm the Mongo class is found and autocomplete works.
  I added the extension in the php.ini</p>
  
  <p>To install Mongo in terminal I wrote</p>
  
  <pre><code>sudo /Applications/MAMP/bin/php5.3/bin/pecl install mongo
  </code></pre>
  
  <p>And everything was installed properly.</p>
  
  <p>What am I doing wrong?</p>