Using MongoDB in PHPTo access MongoDB from PHP you will need:
Installing the PHP Driver*NIXRun: sudo pecl install mongo Open your php.ini file and add to it: extension=mongo.so It is recommended to add this to the section with the other "extensions", but it will work from anywhere within the php.ini file. Restart your web server (Apache, nginx, etc.) for the change to take effect. See the installation docs for configuration information and OS-specific installation instructions. Windows
For more information, see the Windows section of the installation docs. Using the PHP DriverTo get started, see the Tutorial. Also check out the API Documentation. See Also
|

PLEASE POST QUESTIONS IN THE USER GROUPS FORUM. Post non-question comments and helpful hints here.
blog comments powered by Disqus