DreamHost does not directly support any of the features described on this page and is not responsible for keeping this content updated or accurate. Use at your own risk!

MongoDB (from "humongous") is an open source, scalable, high-performance, schema-free, document-oriented database written in the C++ programming language.

MongoDB is designed for problems without heavy transactional requirements that aren't easily solved by traditional RDBMSs, including problems which require the database to span many servers.

Like other document-oriented database systems such as CouchDB, MongoDB is not a relational database management system. The database manages collections of JSON-like documents which are stored in a binary format referred to as BSON.

MongoDB on DreamHost

DreamHost does not allow installation of MongoDB on its shared server.

You must purchase a DreamHost Virtual Private Server (VPS), where there is an option to install MongoDB automatically. Modules for allowing access to MongoDB from Perl, Ruby, Python, and PHP are also automatically installed by DreamHost VPS.

To enable MongoDB on DreamHost VPS:

  • Go to "Configure Server" under VPS
  • Switch MongoDB option from inactive to active
  • Click Save, and MongoDB is installed on your DreamHost VPS.
  • You will receive an automated email when the installation is complete with the admin credentials and instructions on how to connect.

Adding the phprc extension

You may need the following line added to your phprc file in order for your configuration to function.

View the following articles for details on how to create a phprc file and add an extension:

See also

External links