title: Cant' get MongoDB PHP Extension to work
body: <p>I've been following this tutorial to try to install the PHP MongoDB extension but unfortunately haven't been able to get it working. </p>
  
  <p><a href="http://www.marcwitteveen.com/tech/mac/installing-mongodb-on-a-mac-so-you-can-access-it-with-php/" rel="nofollow">http://www.marcwitteveen.com/tech/mac/installing-mongodb-on-a-mac-so-you-can-access-it-with-php/</a></p>
  
  <p>I can access the collections in the terminal, the database is properly installed but I didn't manage to get the extension working. </p>
  
  <p>I have the following problem:</p>
  
  <pre><code>Sinan-MBP:mongo-php-driver-master Sinan$ cd
  Sinan-MBP:~ Sinan$ sudo pecl install mongo
  pecl/mongo is already installed and is the same as the released version 1.4.1
  install failed
  </code></pre>
  
  <p>I've been trying several times so that's probably why I get this message. However, even after adding "extension=mongo.so" to the php.ini, I can't use MongoDB in my PHP code. </p>
  
  <p>Thank you for your help.</p>