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

Last updated: June 02,2024

1. Install "php-sqlsrv.x86_64" package

This is a short guide on how to install php-sqlsrv.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8)

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

2. Uninstall "php-sqlsrv.x86_64" package

This tutorial shows how to uninstall php-sqlsrv.x86_64 on Red Hat Enterprise Linux 8 (RHEL 8):

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

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

Last metadata expiration check: 1:57:59 ago on Mon Feb 26 15:59:38 2024.
Available Packages
Name : php-sqlsrv
Version : 5.12.0
Release : 1.el8.remi.8.3
Architecture : x86_64
Size : 268 k
Source : php-sqlsrv-5.12.0-1.el8.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.