From 9c7c9d9f1b9a4820b9d394cc40d98bbd79283443 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Tue, 25 Oct 2016 17:48:03 +0000 Subject: [PATCH] Suggest pkg-config if MongoDB cannot find OpenSSL https://jira.mongodb.org/browse/PHPC-674 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340672 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongodb/configure.xml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/reference/mongodb/configure.xml b/reference/mongodb/configure.xml index b4cac64f44..de5c7de718 100644 --- a/reference/mongodb/configure.xml +++ b/reference/mongodb/configure.xml @@ -22,6 +22,19 @@ $ sudo pecl install mongodb + + + Installing the driver via PECL will use bundled versions of + libbson and + libmongoc and rely on PHP to + find OpenSSL (i.e. PHP_SETUP_OPENSSL). If the build + process fails to find OpenSSL, check that the OpenSSL development package + (e.g. libssl-dev) and + pkg-config are both + installed. + + + Add the following line to your &php.ini; file: @@ -100,6 +113,19 @@ $ sudo make install + + + By default, the driver will use bundled versions of + libbson and + libmongoc and rely on PHP to + find OpenSSL (i.e. PHP_SETUP_OPENSSL). If the build + process fails to find OpenSSL, check that the OpenSSL development package + (e.g. libssl-dev) and + pkg-config are both + installed. + + + The last step will report where mongodb.so has been installed, similar to: