How to install php-pecl-mongodb in CentOS/RHEL 7 (x86_64)
MongoDB driver for PHP
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.2.
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 | 870 KiB | 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) |