The command ‘pecl’ in MAMP dos not work; therefore, it requires to download pre-complied PHP extensions from https://github.com/mongodb/mongo-php-driver/downloads Open php.ini and add below code [code]extension=mongo.so[/code] Reference: http://www.php.net/manual/en/mongo.installation.php#mongo.installation.osx