How to install php-pgsql on AlmaLinux, Rocky Linux, Oracle Linux and RHEL

A PostgreSQL database module for PHP

License: PHP Vendor: GetPageSpeed LLC http://www.php.net/

Availability

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

Distro Channel x86_64 Version
RHEL 6 Base 5.3.3

Description

The php-pgsql package includes a dynamic shared object (DSO) that can be compiled in to the Apache Web server to 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 AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Install

Base RHEL 6

php-pgsql on CentOS / RHEL 6

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install php-pgsql

Package downloads require an active GetPageSpeed subscription — one repository for php-pgsql and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Subscribe — from $10/mo

Frequently asked questions

How do I install php-pgsql on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?

Add the GetPageSpeed repository, then install the php-pgsql package with your system package manager.

Which Enterprise Linux versions is php-pgsql available for?

php-pgsql is available for RHEL 6.

Subscribe