GetPageSpeed Extras

php-pgsql

How to install php-pgsql in CentOS/RHEL 7 (x86_64)

A PostgreSQL database module for PHP

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

Install

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-pgsql

Description

The 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.

Compatibility

This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

RPMs

Package Size Built Changes
php-pgsql-8.1.34-11.el7.x86_64 134 KiB 2026-10-24 Danila Vershinin
- add RuntimeDirectory=php-fpm to the base-shape unit (RHEL parity): · systemd recreates /run/php-fpm on every service start
php-pgsql-8.1.34-10.el7.x86_64 134 KiB 2026-10-24 Danila Vershinin
- ship tmpfiles.d/php-fpm.conf in the base shape: recreate /run/php-fpm at · boot, without it php-fpm fails to start after a reboot
php-pgsql-8.1.34-9.el7.x86_64 134 KiB 2026-10-24 Danila Vershinin
- add gps_license license-presence extension, statically compiled into every · SAPI (ADR-002): phpinfo attribution section, cron.daily verdict heartbeat, · dormant guarded HTML footer tier (hard clamps to footer, fail-open to soft)
php-pgsql-8.1.34-8.el7.x86_64 133 KiB 2026-10-23 Danila Vershinin
- enable the oci8 / pdo_oci build (new oci8 subpackage), linked against · Oracle Instant Client 21.13 exactly like Remi's EL7 build (soname · libclntsh.so.21.1; the client is fetched at build time only and never · shipped). Unblocks the Remi to GetPageSpeed upgrade on hosts that have · Remi's oci8 package installed (its exact-NVR pdo dependency).
php-pgsql-8.1.34-7.el7.x86_64 133 KiB 2026-10-23 Danila Vershinin
- Rebuild for EL7 from Remi's maintained 8.1.34-6 patch set; Remi's EL7 · build stopped at 8.1.29-1, so this adds 8.1.30-8.1.34 and every later · backport, including CVE-2026-109618 and CVE-2026-109619 · (GHSA-w8hw-w9fx-j79w, GHSA-6wmf-4rv5-p3rp) · - GetPageSpeed branding: Vendor and Packager tags, php -v prints · "Built by GetPageSpeed LLC", phpinfo Build Provider (upstream hook) · - php-common requires getpagespeed-extras-release · - Package every php.d extension ini as 0644; 0600 files silently drop · OPcache and other extensions for non-root CLI · - Build intl against libicu73 on EL7, as Remi's EL7 build does

Subscribe