Monthly Archives: January 2016

Install MongoDB on MAMP

1. Add MAMP’s bin to the $PATH, make suit with your PHP version: export PATH=”/Applications/MAMP/bin/php/php5.x.x/bin:$PATH” 2. Download PHP source same with your PHP version and put into /Applications/MAMP/bin/php/php5.x.x/include 3. Configure PHP: cd /Applications/MAMP/bin/php/php5.x.x/include/php ./configure 4. When finish, install mongodb: sudo

Posted in Uncategorized