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 8.0.

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.19.2-2.el7.x86_64 1.6 MiB 2026-10-29 Danila Vershinin
- GetPageSpeed EL7 build of the MongoDB driver for the 7.2-8.3 channels · (drop-in for Remi's php-pecl-mongodb: 1.16.2 on 7.2/7.3, 1.19.2 on · 7.4-8.3, relations verbatim)

Subscribe