How to Install and Uninstall php-pgsql.x86_64 Package on Amazon Linux 2

Last updated: November 25,2024

1. Install "php-pgsql.x86_64" package

Please follow the guidance below to install php-pgsql.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install php-pgsql.x86_64

2. Uninstall "php-pgsql.x86_64" package

This guide covers the steps necessary to uninstall php-pgsql.x86_64 on Amazon Linux 2:

$ sudo yum remove php-pgsql.x86_64 $ sudo yum autoremove

3. Information about the php-pgsql.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : php-pgsql
Arch : x86_64
Version : 7.4.28
Release : 1.amzn2
Size : 131 k
Repo : amzn2extra-php7.4/2/x86_64
Summary : A PostgreSQL database module for PHP
URL : http://www.php.net/
License : PHP
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.