Using MongoDB with a PHP Backend

Discover our Public Cloud offer

Shared Hosting for Everyone, imagined by developers, for developers.

Discovering the Public Cloud

Configuration

Using Mongo in PHP requires installing a PECL extension in your account.

$ ad_install_pecl mongodb

Then don’t forget to add the extension to your php.ini:

extension=/home/[account]/path/to/mongodb.so