How to install php-pdo on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
A database access abstraction module for PHP applications
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| RHEL 10 | — | — | — | |
| RHEL 9 | — | — | — | |
| RHEL 8 | — | — | — | |
| RHEL 7 | — | — | ✓ | 8.4.24 |
| RHEL 6 | — | — | — |
Description
The php-pdo package contains a dynamic shared object that will add a database access abstraction layer to PHP. This module provides a common interface for accessing MySQL, PostgreSQL or other databases.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
php-pdo on CentOS 7 / RHEL 7
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-pdo
Package downloads require an active GetPageSpeed subscription — one repository for php-pdo and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install php-pdo on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the php-pdo package with your system package manager.
Which Enterprise Linux versions is php-pdo available for?
php-pdo is available for RHEL 7.