How to install php56-php-mssql on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
MSSQL database module for PHP
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | x86_64 | Version |
|---|---|---|---|
| RHEL 9 | Base | 5.6.40 | |
| RHEL 8 | Base | 5.6.40 | |
| RHEL 7 | Base | 5.6.40 |
Description
The php56-php-mssql package contains a dynamic shared object that will add MSSQL and Sybase database support to PHP. It uses the TDS (Tabular DataStream) protocol through the freetds library, hence any database server which supports TDS can be accessed.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
php56-php-mssql on AlmaLinux / Rocky Linux / Oracle Linux / RHEL 8, 9
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install php56-php-mssql
php56-php-mssql on CentOS 7 / RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install php56-php-mssql
php56-php-mssql: Free to install; commercial production use requires a subscription. Without one, a small license notice appears on HTML pages after 30 days.
Subscribe — from $10/moFrequently asked questions
How do I install php56-php-mssql on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the php56-php-mssql package with your system package manager.
Which Enterprise Linux versions is php56-php-mssql available for?
php56-php-mssql is available for RHEL 7, 8, 9.