How to Install and Uninstall php-sqlsrv.x86_64 Package on Rocky Linux 8

Last updated: November 13,2024

1. Install "php-sqlsrv.x86_64" package

This guide let you learn how to install php-sqlsrv.x86_64 on Rocky Linux 8

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

2. Uninstall "php-sqlsrv.x86_64" package

Learn how to uninstall php-sqlsrv.x86_64 on Rocky Linux 8:

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

3. Information about the php-sqlsrv.x86_64 package on Rocky Linux 8

Last metadata expiration check: 0:28:21 ago on Mon Sep 12 10:27:18 2022.
Available Packages
Name : php-sqlsrv
Version : 5.10.1
Release : 2.el8.remi.8.1
Architecture : x86_64
Size : 264 k
Source : php-sqlsrv-5.10.1-2.el8.remi.8.1.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.1.