How to install php72-php-pgsql on Amazon Linux
A PostgreSQL database module for PHP
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | x86_64 | Version |
|---|---|---|---|
| Amazon Linux 2 | Base | 7.2.34 |
Description
The php72-php-pgsql package add PostgreSQL database support to PHP. PostgreSQL is an object-relational database management system that supports almost all SQL constructs. PHP is an HTML-embedded scripting language. If you need back-end support for PostgreSQL, you should install this package in addition to the main php package.
Built for Amazon Linux.
Install
php72-php-pgsql on Amazon Linux 2
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install php72-php-pgsql
Package downloads require an active GetPageSpeed subscription — one repository for php72-php-pgsql and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install php72-php-pgsql on Amazon Linux?
Add the GetPageSpeed repository, then install the php72-php-pgsql package with your system package manager.
Which Amazon Linux versions is php72-php-pgsql available for?
php72-php-pgsql is available for Amazon Linux 2.