How to install php72-php-pecl-mysql on AlmaLinux, Rocky Linux, Oracle Linux and RHEL

Legacy MySQL extension (ext/mysql) on top of mysqlnd

License: PHP-3.01 Vendor: GetPageSpeed LLC https://github.com/php/pecl-database-mysql

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel x86_64 Version
RHEL 7 Base 1.0.0

Description

The mysql_* functions removed from PHP 7 core, rebuilt as a PECL extension on top of mysqlnd. For legacy code only; use mysqli or PDO MySQL for new work.

Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Install

Base RHEL 7

php72-php-pecl-mysql 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 php72-php-pecl-mysql

Package downloads require an active GetPageSpeed subscription — one repository for php72-php-pecl-mysql and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.

Subscribe — from $10/mo

Frequently asked questions

How do I install php72-php-pecl-mysql on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?

Add the GetPageSpeed repository, then install the php72-php-pecl-mysql package with your system package manager.

Which Enterprise Linux versions is php72-php-pecl-mysql available for?

php72-php-pecl-mysql is available for RHEL 7.

Subscribe