How to install php-pecl-mongodb in CentOS/RHEL 7 (x86_64)

MongoDB driver for PHP

License: Apache-2.0 Vendor: GetPageSpeed LLC https://pecl.php.net/package/mongodb

Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install php-pecl-mongodb

Description

The purpose of this driver is to provide exceptionally thin glue between MongoDB and PHP, implementing only fundamental and performance-critical components necessary to build a fully-functional MongoDB driver. Package built for PHP 7.1.

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-mongodb-1.11.1-3.1.el7.x86_64 707 KiB 2026-11-25 Danila Vershinin
- Fix CVE-2026-135133: invalid free of converted non-string option values · (backport of upstream PHPC-2746 to 1.11.1, 1.16.2 and 1.19.2)
php-pecl-mongodb-1.11.1-2.1.el7.x86_64 707 KiB 2026-11-23 Danila Vershinin
- PHP 7.1 channel: 1.11.1 (last for 7.1), drop-in for Remi's php71 build
php-pecl-mongodb-1.11.1-2.el7.x86_64 575 KiB 2026-11-03 Danila Vershinin
- PHP 7.1 channel: 1.11.1 (last for 7.1), drop-in for Remi's php71 build

Subscribe