Install MongoDB for PHP5.4 on MAMP

1. Download from

2. Copy to MAMP PHP folder.

For example, mine is at
Remember to select the correct PHP version. You can check your PHP version from your MAMP start page, e.g http://localhost/MAMP/phpinfo.php

3. Enable the extension in PHP Configuration file (php.ini). You can find the path to the file from the PHPInfo (see above example).

To enable, add the following line in the "Dynamic Extension" section.

4. Restart your MAMP. You should see "mongo" section in PHPinfo.


Popular posts from this blog

Generate GoDaddy SSL Certificate (.crt) for Azure Websites (.pfx)

Backup MySQL to Azure Storage in 30 Seconds