How to install php-mysqlnd in CentOS/RHEL 7 (x86_64)
A module for PHP applications that use MySQL databases
Install
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 php-mysqlnd
Description
The php-mysqlnd package contains a dynamic shared object that will add MySQL database support to PHP. MySQL is an object-relational database management system. PHP is an HTML-embeddable scripting language. If you need MySQL support for PHP applications, you will need to install this package and the php package. This package use the MySQL Native Driver
Compatibility
This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
RPMs
| Package | Size | Built | Changes |
|---|---|---|---|
| php-mysqlnd-5.4.45-33.el7.x86_64 | 298 KiB | 2026-11-27 |
Danila Vershinin - Improved the everpatch extension |
| php-mysqlnd-5.4.45-32.el7.x86_64 | 298 KiB | 2026-11-27 |
Danila Vershinin - fix xml_parse() reporting entities in attribute values as character · data with libxml2 2.13 (GH-14834) |
| php-mysqlnd-5.4.45-31.el7.x86_64 | 298 KiB | 2026-11-21 |
Danila Vershinin - security: CVE-2025-1735, the pgsql and pdo_pgsql extensions now check · libpq's escaping functions for errors · - build: fail when a packaged extension module does not load |
| php-mysqlnd-5.4.45-30.el7.x86_64 | 297 KiB | 2026-11-21 |
Danila Vershinin - Improved the everpatch extension |
| php-mysqlnd-5.4.45-29.el7.x86_64 | 297 KiB | 2026-11-19 |
Danila Vershinin - security: port the 2026-11-19 upstream PHP security fixes that apply to · this branch: CVE-2026-129496 (GHSA-gr4f-wgx5-jpfv), CVE-2026-126714 · (GHSA-fm2m-fjf5-v3cp), CVE-2026-129291 (GHSA-jm4m-qfqx-967m), · CVE-2026-128064 (GHSA-f6gg-rchx-xw8j), CVE-2026-128090 · (GHSA-68fq-fh7h-f8gr), CVE-2026-129538 (GHSA-5j3f-64r7-f564), · CVE-2026-129506 (GHSA-4646-p932-gw34), CVE-2026-15353 · (GHSA-q23r-hr55-xmpg) and CVE-2026-129292 (GHSA-3mg3-cr28-46gc, FPM · status page: escape the method, user and script fields too) |
| php-mysqlnd-5.4.45-28.el7.x86_64 | 297 KiB | 2026-11-13 |
Danila Vershinin - imap_mail_compose(): check the disposition and type.parameters key that is · being added (the check ran before the key was fetched) and skip numeric · keys (bug #80710 follow-up) |
| php-mysqlnd-5.4.45-27.el7.x86_64 | 297 KiB | 2026-11-11 |
Danila Vershinin - the built-in gps_license extension is renamed to everpatch · (php --ri everpatch); its info section now shows the exact package, · platform, license status and the security fixes compiled into this build |
| php-mysqlnd-5.4.45-26.el7.x86_64 | 296 KiB | 2026-10-30 |
Danila Vershinin - php -v and phpinfo Build Provider show the package release |
| php-mysqlnd-5.4.45-25.el7.x86_64 | 296 KiB | 2026-10-30 |
Danila Vershinin - port the 2015-2019 upstream 5.6 security fixes (5.6.14 to 5.6.40) that · Remi's 5.4 backports never carried (Patch700-797), among them · CVE-2016-7124 CVE-2016-7125 CVE-2016-7411 CVE-2016-7413 CVE-2016-7417 · CVE-2016-7418 CVE-2016-7129 CVE-2016-7130 CVE-2016-7131 CVE-2016-7132 · CVE-2016-9934 CVE-2016-9935 CVE-2016-10161 CVE-2017-12933 CVE-2017-11143 · CVE-2017-11145 CVE-2017-16642 CVE-2018-10546 CVE-2018-10547 CVE-2018-10548 · CVE-2018-10549 CVE-2018-14883 CVE-2018-20783 CVE-2019-9021 CVE-2019-9023 · and the bundled Oniguruma CVE-2017-9224/9226/9227/9228/9229; · full list in SECURITY.md |
| php-mysqlnd-5.4.45-24.el7.x86_64 | 294 KiB | 2026-10-29 |
Danila Vershinin - complete the #81720 fix (CVE-2022-31625): pg_* parameter conversion · failure no longer frees uninitialized entries in the two remaining functions |
| php-mysqlnd-5.4.45-23.el7.x86_64 | 294 KiB | 2026-10-27 |
Danila Vershinin - support a license file at /etc/getpagespeed/license.jwt |
| php-mysqlnd-5.4.45-22.el7.x86_64 | 294 KiB | 2026-10-27 |
Danila Vershinin - license heartbeat sends /etc/getpagespeed/license.jwt as "token" when · present, licensing by token instead of source IP; own /etc/getpagespeed |