Compiling a Web Development Environment on Mac OS X

MongoDB Driver for PHP

Links: Homepage
Dependencies: PHP


Install MongoDB Driver for PHP using PECL.

pecl install mongo

Add the following line to your PHP configuration file.

echo '' >> /usr/local/php/php.ini

Restart the Web Server

The web server must be restarted for the changes to take effect.

sudo /usr/local/apache/bin/apachectl -k restart