Skip to content

Commit b0c66b2

Browse files
committed
adding mongoDB support closes #281
1 parent 28765c1 commit b0c66b2

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,9 @@ RUN apk add --no-cache --virtual .sys-deps \
7373
docker-php-ext-install pdo_mysql mysqli pdo_sqlite pgsql pdo_pgsql exif intl xsl soap zip && \
7474
pecl install -o -f xdebug && \
7575
pecl install -o -f redis && \
76+
pecl install -o -f mongodb && \
7677
echo "extension=redis.so" > /usr/local/etc/php/conf.d/redis.ini && \
78+
echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongodb.ini && \
7779
echo "zend_extension=xdebug" > /usr/local/etc/php/conf.d/xdebug.ini && \
7880
docker-php-source delete && \
7981
mkdir -p /var/www/app && \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ If you have improvements or suggestions please open an issue or pull request on
88
### Versioning
99
| Docker Tag | Git Release | Nginx Version | PHP Version | Alpine Version |
1010
|-----|-------|-----|--------|--------|
11-
| latest/3.1.2 | Main Branch |1.22.1 | 8.2.4 | 3.17 |
11+
| latest/3.1.3 | Main Branch |1.22.1 | 8.2.4 | 3.17 |
1212

1313
For other tags please see: [versioning](https://github.com/richarvey/nginx-php-fpm/blob/main/docs/versioning.md)
1414

docs/versioning.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The latest tag will always follow the main branch in git. the other versions wil
1717

1818
| Docker Tag | PHP Version | Nginx Version | Alpine Version | Container Scripts | Notes |
1919
|-----|-------|-----|--------|--------|----------|
20+
| 3.1.3 | 8.2.4 |1.22.1 | 3.17 | 0.3.17 | adding mongoDB support #281 |
2021
| 3.1.2 | 8.2.4 |1.22.1 | 3.17 | 0.3.17 | fix #280 |
2122
| 3.1.1 | 8.2.4 |1.22.1 | 3.17 | 0.3.17 | upgrade to php 8.2.4 |
2223
| 3.1.0 | 8.2.3 |1.22.1 | 3.17 | 0.3.17 | reduced image size |

0 commit comments

Comments
 (0)