How to install php-pdo on Amazon Linux
A database access abstraction module for PHP applications
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | x86_64 | Version |
|---|---|---|---|
| Amazon Linux 2012.03 | Base | 5.3.3 |
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 Amazon Linux.
Install
Base
Amazon Linux 2012.03
php-pdo on Amazon Linux 2012.03
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install php-pdo
Package downloads require an active GetPageSpeed subscription — one repository for php-pdo and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install php-pdo on Amazon Linux?
Add the GetPageSpeed repository, then install the php-pdo package with your system package manager.
Which Amazon Linux versions is php-pdo available for?
php-pdo is available for Amazon Linux 2012.03.