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

Last updated: May 19,2024

1. Install "php-pdo.x86_64" package

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

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

2. Uninstall "php-pdo.x86_64" package

Please follow the guidelines below to uninstall php-pdo.x86_64 on Amazon Linux 2:

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

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

Loaded plugins: ovl, priorities
Installed Packages
Name : php-pdo
Arch : x86_64
Version : 7.4.28
Release : 1.amzn2
Size : 373 k
Repo : installed
From repo : amzn2extra-php7.4
Summary : A database access abstraction module for PHP applications
URL : http://www.php.net/
License : PHP
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.