How to Install and Uninstall php-oci8.x86_64 Package on Red Hat Enterprise Linux 9 (RHEL 9)

Last updated: November 25,2024

1. Install "php-oci8.x86_64" package

Please follow the step by step instructions below to install php-oci8.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9)

$ sudo dnf update $ sudo dnf install php-oci8.x86_64

2. Uninstall "php-oci8.x86_64" package

This guide covers the steps necessary to uninstall php-oci8.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9):

$ sudo dnf remove php-oci8.x86_64 $ sudo dnf autoremove

3. Information about the php-oci8.x86_64 package on Red Hat Enterprise Linux 9 (RHEL 9)

Last metadata expiration check: 0:02:25 ago on Mon Feb 26 07:04:30 2024.
Available Packages
Name : php-oci8
Version : 8.3.3
Release : 1.el9.remi
Architecture : x86_64
Size : 137 k
Source : php-8.3.3-1.el9.remi.src.rpm
Repository : remi-modular
Summary : A module for PHP applications that use OCI8 databases
URL : http://www.php.net/
License : PHP-3.01
Description : The php-oci8 packages provides the OCI8 extension version 3.3.0
: and the PDO driver to access Oracle Database.
:
: The extension is linked with Oracle client libraries 21.13
: (Oracle Instant Client). For details, see Oracle's note
: "Oracle Client / Server Interoperability Support" (ID 207303.1).
:
: You must install libclntsh.so.21.1 to use this package,
: provided by Oracle Instant Client RPM available from Oracle on:
: https://www.oracle.com/database/technologies/instant-client/downloads.html
:
: Documentation is at http://php.net/oci8 and http://php.net/pdo_oci