Installing PHP/MongoDB extension is a two steps task on OSX:
Install the autoconf tool required for compiling the extension Install the Mongo extension You have to install autoconf in order to avoid the following error:
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script. ERROR: `phpize’ failed Enough talk, hands on work…
Step 1. Install the autoconf tool Download the latest source version: