You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ak...@apache.org on 2019/05/31 19:38:15 UTC

[incubator-openwhisk-runtime-php] branch master updated: Add php mongodb driver. (#60)

This is an automated email from the ASF dual-hosted git repository.

akrabat pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-runtime-php.git


The following commit(s) were added to refs/heads/master by this push:
     new 9e5a056  Add php mongodb driver. (#60)
9e5a056 is described below

commit 9e5a05662bc111130f8adc0ba527896d0b467106
Author: falkzoll <fa...@de.ibm.com>
AuthorDate: Fri May 31 21:38:10 2019 +0200

    Add php mongodb driver. (#60)
---
 core/php7.3Action/CHANGELOG.md | 2 ++
 core/php7.3Action/Dockerfile   | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/core/php7.3Action/CHANGELOG.md b/core/php7.3Action/CHANGELOG.md
index bef4c7e..c223ecf 100644
--- a/core/php7.3Action/CHANGELOG.md
+++ b/core/php7.3Action/CHANGELOG.md
@@ -19,6 +19,8 @@
 ## Apache 1.14.0-incubating (next release)
 Changes:
   - Update version of PHP to 7.3.5
+  - Added PHP extension mongodb
+
 
 ## Apache 1.13.0-incubating
 Initial release
diff --git a/core/php7.3Action/Dockerfile b/core/php7.3Action/Dockerfile
index 1088032..f9cf261 100644
--- a/core/php7.3Action/Dockerfile
+++ b/core/php7.3Action/Dockerfile
@@ -51,7 +51,9 @@ RUN \
       pdo_mysql \
       pdo_pgsql \
       soap \
-      zip
+      zip \
+      && pecl install mongodb \
+      && docker-php-ext-enable mongodb
 
 COPY php.ini /usr/local/etc/php