How to install php-pecl-mongodb2 in CentOS/RHEL 10 (x86_64)

MongoDB driver for PHP version 2

License: Apache-2.0 AND ISC AND MIT AND Zlib AND BSD-3-Clause Vendor: GetPageSpeed LLC https://github.com/mongodb/mongo-php-driver

Install

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install php-pecl-mongodb2

Description

The purpose of this driver is to provide exceptionally thin glue between MongoDB and PHP, implementing only fundemental and performance-critical components necessary to build a fully-functional MongoDB driver. php-pecl-mongodb provides version 1 of the extension, this package provides version 2. Package built for PHP 8.5.

Compatibility

This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

RPMs

Package Size Built Changes
php-pecl-mongodb2-2.5.7-1.1.el10.gps.x86_64 877 KiB 2026-11-09 GetPageSpeed
- Built for GetPageSpeed repositories

Subscribe