PHP 8.1 Security Updates for CentOS 7
Everpatch PHP brings PHP 8.1 on EL7 up to the current maintained 8.1 release, where EL7 builds froze at 8.1.29.
Signed RPM builds tracking the same fix stream EL8+ users get, drop-in compatible with Remi's packages. Package names stay the same; yum upgrade replaces them in place.
PHP2Shell fixed from 8.1.34-7.el7 (php-*) and 8.1.34-7.el7 (php81-php-*). How to apply it · Check your server · Scan it with CVEfox
The gap
PHP 8.1 reached upstream end of life in December 2025 — the most recent PHP line to fall off security support. CentOS 7 itself went end of life in June 2024, and Remi's EL7 builds of 8.1 froze at 8.1.29 while EL8 users moved on to newer 8.1 point releases with security fixes.
Everpatch PHP 8.1 is the first channel whose version is genuinely newer than the frozen EL7 build: it builds the current maintained 8.1 release for EL7, so you track the same release stream EL8 users get.
Install
Replacing system PHP (Remi remi-php81 style, base-name php-*)
yum -y install https://extras.getpagespeed.com/release-latest.rpm yum --enablerepo=getpagespeed-extras-php81 upgrade 'php-*' systemctl restart php-fpm
Side by side (software collection, php81-php-*)
yum -y install https://extras.getpagespeed.com/release-latest.rpm yum install php81-php-cli php81-php-fpm systemctl restart php81-php-fpm scl enable php81 -- php -v
On a fresh host, swap upgrade 'php-*' for install php-cli php-fpm plus the extensions you need. Enable the channel per transaction as shown: it carries base-name php, so leaving it on would offer that version to an unscoped yum update.
The php81-php-* collection lives in the always-enabled main repository, so no channel is needed; on a host with Remi's collection, yum upgrade 'php81-php*' swaps it in place.
Package names match Remi's, so upgrades are in place and yum downgrade takes you back. PECL extensions and ionCube keep working. Running Apache mod_php? Restart httpd instead. Afterwards php -v prints Built by GetPageSpeed LLC.
Every channel is tested serving real pages through both mod_php and PHP-FPM: fresh installs, upgrades from Remi with PECL and ionCube loaded, and the collection builds.
Free for personal use. Running it for a business?
Patching EOL PHP is ongoing work: every new PHP CVE has to be ported to branches upstream abandoned years ago, then built and tested on EL7. Commercial production use requires GetPageSpeed Ultra or GetPageSpeed Fleet: either one funds that work and keeps your production servers covered for the next one, together with the full GetPageSpeed repository. When a new fix is ready for the PHP your servers run, we email you the exact command. Ultra covers up to 10 servers running your own services; Fleet is the plan for servers that host client websites, or for more than 10 servers. 250+ employees or $10M+ revenue, or need a contractual SLA and invoice/PO? That is Enterprise.
Ultra, $500/year Fleet, from $800/year Contact us about Enterprise
Security fixes in this channel
The channel's security notes track 2 CVE fixes that never reached the last vendor build for Enterprise Linux 7.
| Fixed in Everpatch PHP 8.1 |
|---|
| CVE-2026-109618, CVE-2026-109619 |
Fixes are ports of the upstream php-src security patches, audited hunk by hunk; the provenance of every patch is documented per release. The background story of patching EOL PHP on CentOS 7 is covered in our PHP2Shell write-up.
Frequently asked questions
Is PHP 8.1 on CentOS 7 patched for PHP2Shell?
Yes. Everpatch PHP 8.1 carries the backported PHP2Shell fix from 8.1.34-7.el7 (php-*) and 8.1.34-7.el7 (php81-php-*) onward. The PHP version number does not change, so check the package release rather than php -v, or paste your package list into the PHP2Shell checker. The full walkthrough is in our PHP2Shell guide.
PHP 8.1 only just went EOL — why does it need this?
Because on CentOS 7 the freeze happened long before the EOL date: Remi's EL7 builds stopped at 8.1.29 while EL8 users kept getting newer 8.1 releases. This channel closes that gap and keeps closing it now that upstream has stopped too.
Is PHP 8.1 still safe to run on CentOS 7?
With this channel you run the same maintained 8.1 patch level as EL8 users. PHP 8.1 is now end of life upstream: plan your upgrade on your own schedule. Everpatch exists so a CVE disclosure does not set that schedule for you.
Will this replace my existing PHP packages?
Yes, in place. The channel ships the same package names as Remi's PHP 8.1 (base-name php-* in the getpagespeed-extras-php81 channel, SCL php81-php-* in the main repo), with newer versions, so a plain yum upgrade swaps them and yum downgrade reverts.
What if I would rather move to a current PHP?
The GetPageSpeed PHP 8.4 stack runs current, upstream-supported PHP on CentOS 7 — from 8.1 that is usually a straightforward upgrade.
Is oci8 (Oracle) available?
Yes, in both shapes: php-oci8 and php81-php-oci8, linked against Oracle Instant Client 21 exactly like Remi's EL7 builds, so an existing Remi oci8 install upgrades cleanly. Install oracle-instantclient-basic 21.x from Oracle first: the GetPageSpeed repository does not redistribute Oracle's libraries.
Do I need a subscription?
Not for personal, development or evaluation use: the PHP packages install from the public GetPageSpeed repository with no signup. Commercial production use requires a subscription under the repository terms: GetPageSpeed Ultra ($500/year) for up to 10 servers running your own services, or GetPageSpeed Fleet (from $800/year) for servers that host client websites or fleets larger than 10. Either one funds these backports and keeps your servers covered for the next EOL PHP CVE. Organizations with 250+ employees or $10M+ revenue, or anyone needing a contractual SLA and invoice/PO procurement, should contact us about Enterprise. To license servers without registering IP addresses, place your license file at /etc/getpagespeed/license.jwt.