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

Last updated: October 06,2024

1. Install "php-sqlsrv.x86_64" package

Please follow the guidelines below to install php-sqlsrv.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9)

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

2. Uninstall "php-sqlsrv.x86_64" package

Here is a brief guide to show you how to uninstall php-sqlsrv.x86_64 on Red Hat Enterprise Linux 9 (RHEL 9):

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

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

Last metadata expiration check: 1:28:56 ago on Mon Feb 26 07:04:30 2024.
Available Packages
Name : php-sqlsrv
Version : 5.12.0
Release : 1.el9.remi.8.3
Architecture : x86_64
Size : 266 k
Source : php-sqlsrv-5.12.0-1.el9.remi.8.3.src.rpm
Repository : remi-modular
Summary : Microsoft Drivers for PHP for SQL Server
URL : https://github.com/Microsoft/msphpsql
License : MIT
Description : The Microsoft Drivers for PHP for SQL Server are PHP extensions that allow for
: the reading and writing of SQL Server data from within PHP scripts.
:
: The SQLSRV extension provides a procedural interface while the PDO_SQLSRV
: extension implements PDO for accessing data in all editions of SQL Server
: 2008 R2 and later (including Azure SQL DB).
:
: These drivers rely on the Microsoft ODBC Driver for SQL Server to handle the
: low-level communication with SQL Server.
:
: You can download the Microsoft ODBC Driver from
: https://docs.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server
:
: Package built using msodbcsql17 version %{msodbcsqlver}.
: Package built for PHP 8.3.