To get the source:
To build, use:
Option | Default | Description |
---|---|---|
--with-mongodb=/path/to/mongodb | /usr/local | Path to local mongodb install |
--with-boost=/path/to/boost/libs | /usr/lib/ | Path to boost libraries |
--enable-64 | no | Compile for 64-bit architecture |
Note for Mac OS X users: Web Sharing uses 64-bit PHP, however, the command line PHP uses 32-bit. Therefore, you have to use --enable-64 to force command-line PHP to build an Apache-compliant PHP extension.
To install:
php.ini settings: To load this extension on startup, add a line: