From 7c92c31cd2826bbeb236ff3ef55da9b95a524497 Mon Sep 17 00:00:00 2001
From: Andy Postnikov <apostnikov@gmail.com>
Date: Thu, 17 Apr 2025 00:33:33 +0200
Subject: [PATCH] Issue #3518608 by andypost: PHP 8.4 and 8.5 upgrade mongodb
 to 2.0.0

---
 php/8.4-ubuntu-apache/Dockerfile | 2 +-
 php/8.5-ubuntu-apache/Dockerfile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/php/8.4-ubuntu-apache/Dockerfile b/php/8.4-ubuntu-apache/Dockerfile
index 12eb0a1..3db6845 100644
--- a/php/8.4-ubuntu-apache/Dockerfile
+++ b/php/8.4-ubuntu-apache/Dockerfile
@@ -116,7 +116,7 @@ RUN set -xe &&\
 
 # install pecl extensions for apcu, pcov, xdebug, and yaml
 RUN pecl channel-update pecl.php.net &&\
-    pecl install APCu-5.1.24 mongodb-1.21.0 opentelemetry-1.1.2 pcov-1.0.12 xdebug-3.4.2 yaml-2.2.4 \
+    pecl install APCu-5.1.24 mongodb-2.0.0 opentelemetry-1.1.2 pcov-1.0.12 xdebug-3.4.2 yaml-2.2.4 \
     &&\
     set -eux &&\
 # stript .debug files out of executables
diff --git a/php/8.5-ubuntu-apache/Dockerfile b/php/8.5-ubuntu-apache/Dockerfile
index 866a913..e81612e 100644
--- a/php/8.5-ubuntu-apache/Dockerfile
+++ b/php/8.5-ubuntu-apache/Dockerfile
@@ -118,7 +118,7 @@ RUN set -xe &&\
 
 # install pecl extensions for apcu, pcov, xdebug, and yaml
 RUN pecl channel-update pecl.php.net &&\
-    pecl install APCu-5.1.24 mongodb-1.21.0 opentelemetry-1.1.2 pcov-1.0.12 xdebug-3.4.2 yaml-2.2.4 \
+    pecl install APCu-5.1.24 mongodb-2.0.0 opentelemetry-1.1.2 pcov-1.0.12 xdebug-3.4.2 yaml-2.2.4 \
     &&\
     set -eux &&\
 # stript .debug files out of executables
-- 
GitLab