I have MAMP 1.9 on MAC OSX 10.8.2 using PHP 5.3. I installed MongoDB and the PHP extension mongo.so and added it to my php.ini.
I can run MongoDB on the console, and my phpinfo says that MongoDB support is enabled, but I cannot run the following PHP script.
<?php $connection = new MongoClient(); ?>
PHP causes a fatal error:
Class 'MongoClient' not found
Something seems to be wrong in the startup configuration of my MAMP (or installing the extension).
source share