How to Install and Uninstall php-sqlsrv.x86_64 Package on CentOS 8 / RHEL 8

Last updated: April 26,2024

1. Install "php-sqlsrv.x86_64" package

Learn how to install php-sqlsrv.x86_64 on CentOS 8 / RHEL 8

$ 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 CentOS 8 / RHEL 8:

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

3. Information about the php-sqlsrv.x86_64 package on CentOS 8 / RHEL 8

Last metadata expiration check: 1 day, 6:58:11 ago on Sun May 9 13:03:46 2021.
Available Packages
Name : php-sqlsrv
Version : 5.9.0
Release : 1.el8.remi.7.4
Architecture : x86_64
Size : 262 k
Source : php-sqlsrv-5.9.0-1.el8.remi.7.4.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 17.4.2.
: Package built for PHP 7.4.