MongoDB Installation
From DreamFactory
Drewpearce (Talk | contribs) m |
m (Jason moved page DreamFactory/Installation/Databases/MongoDB to DreamFactory/Installation/Databases/MongoDB Installation) |
||
(34 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | + | ==Drivers== | |
− | + | ||
− | + | ||
− | + | ===Manual Install on Linux=== | |
+ | ==== Requirements ==== | ||
+ | * You will need the following items from your package manager (linux) | ||
+ | ** PHP Pear and PHP Dev (for PECL) | ||
+ | ** Development tools / (e.g. Build Essential tools) | ||
+ | ** libsslcommon2-dev | ||
+ | ** libssl-dev | ||
+ | ** libcurl4-openssl-dev | ||
+ | ** pkg-config | ||
+ | |||
+ | ===Manual Install on Mac Sierra +=== | ||
+ | * You will need to remove Mongo if brew installed as it had been deprecated: https://gist.github.com/katychuang/10439243 | ||
+ | * Install Mongo drivers: https://github.com/mongodb/mongo-php-driver | ||
+ | * You will need to use PECL to build MongoDB: https://pecl.php.net/package/mongodb/1.5.2 | ||
+ | |||
+ | ==== Driver Install ==== | ||
+ | * In Linux you will need to use PECL to build the mongodb module and then enable in php. | ||
+ | |||
+ | For concrete examples, see the [[../../../APT/Ubuntu_16.04/Modules/MongoDB_Ubuntu_16| Ubuntu 16.04]] instructions. |
Latest revision as of 05:18, 12 July 2022
Contents
Drivers
Manual Install on Linux
Requirements
- You will need the following items from your package manager (linux)
- PHP Pear and PHP Dev (for PECL)
- Development tools / (e.g. Build Essential tools)
- libsslcommon2-dev
- libssl-dev
- libcurl4-openssl-dev
- pkg-config
Manual Install on Mac Sierra +
- You will need to remove Mongo if brew installed as it had been deprecated: https://gist.github.com/katychuang/10439243
- Install Mongo drivers: https://github.com/mongodb/mongo-php-driver
- You will need to use PECL to build MongoDB: https://pecl.php.net/package/mongodb/1.5.2
Driver Install
- In Linux you will need to use PECL to build the mongodb module and then enable in php.
For concrete examples, see the Ubuntu 16.04 instructions.