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

Last updated: November 25,2024

1. Install "php-sqlsrv.x86_64" package

Please follow the instructions below to install php-sqlsrv.x86_64 on AlmaLinux 8

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

2. Uninstall "php-sqlsrv.x86_64" package

Please follow the guidance below to uninstall php-sqlsrv.x86_64 on AlmaLinux 8:

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

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

Last metadata expiration check: 1:51:07 ago on Mon Sep 5 03:22:42 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.