How to install php72-php-pecl-mongodb on Amazon Linux

MongoDB driver for PHP

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

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel aarch64 x86_64 Version
Amazon Linux 2 Base 1.16.2

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.2 as Software Collection (php72 by remi).

Built for Amazon Linux.

Install

Base Amazon Linux 2

php72-php-pecl-mongodb on Amazon Linux 2

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

Package downloads require an active GetPageSpeed subscription — one repository for php72-php-pecl-mongodb and thousands more packages for Amazon Linux.

Subscribe — from $10/mo

Frequently asked questions

How do I install php72-php-pecl-mongodb on Amazon Linux?

Add the GetPageSpeed repository, then install the php72-php-pecl-mongodb package with your system package manager.

Which Amazon Linux versions is php72-php-pecl-mongodb available for?

php72-php-pecl-mongodb is available for Amazon Linux 2.

Subscribe