Skip to main content

PHP 7.4 Extended Support for CentOS 7 / RHEL 7

Everpatch PHP is extended support for PHP 7.4 on EL7: the PHP2Shell patch and every later php-src security fix, shipped as packages for CentOS 7.

Signed RPM builds, drop-in compatible with Remi's packages, with the post-2024 security patches ported to EL7. Package names stay the same; yum upgrade replaces them in place.

PHP2Shell fixed from 7.4.33-33.el7 (php-*) and 7.4.33-32.el7 (php74-php-*). How to apply it · Check your server · Scan it with CVEfox

Ultra, $500/year Fleet, from $800/year

The gap

PHP 7.4 has been end of life upstream since November 2022, and CentOS 7 itself went end of life in June 2024. Remi still maintains 7.4 for EL8 and newer, but his EL7 builds stopped in June 2024 — every PHP security release since then has skipped CentOS 7 entirely.

Everpatch PHP 7.4 continues the EL7 channel: the upstream php-src security fixes released since then are ported to EL7, built, signed, and served from extras.getpagespeed.com. The biggest install base of any EOL PHP on CentOS 7 should not be one disclosure away from an incident.

Install

Replacing system PHP (Remi remi-php74 style, base-name php-*)

yum -y install https://extras.getpagespeed.com/release-latest.rpm
yum --enablerepo=getpagespeed-extras-php74 upgrade 'php-*'
systemctl restart php-fpm

Side by side (software collection, php74-php-*)

yum -y install https://extras.getpagespeed.com/release-latest.rpm
yum install php74-php-cli php74-php-fpm
systemctl restart php74-php-fpm
scl enable php74 -- 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 php74-php-* collection lives in the always-enabled main repository, so no channel is needed; on a host with Remi's collection, yum upgrade 'php74-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 51 CVE fixes and 6 further GitHub security advisories that never reached the last vendor build for Enterprise Linux 7.

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 7.4 on CentOS 7 patched for PHP2Shell?

Yes. Everpatch PHP 7.4 carries the backported PHP2Shell fix from 7.4.33-33.el7 (php-*) and 7.4.33-32.el7 (php74-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.

Is PHP 7.4 still safe to run on CentOS 7?

With this channel, the publicly known PHP CVEs are patched — the same fixes EL8 users get, ported to EL7. Upstream still calls PHP 7.4 end of life, and so do we: plan your upgrade on your own schedule. Everpatch exists so a CVE disclosure does not set that schedule for you.

Does PHP 7.4 still get security patches?

Not from php.net releases: PHP 7.4 is end of life, and for PHP2Shell upstream published source-only patches for 7.4 instead of a new release. Everpatch turns those fixes, and every later php-src security fix, into signed packages: this channel for CentOS 7 and RHEL 7, and PHP 7.4 for Ubuntu 20.04. You run yum upgrade instead of compiling patches yourself.

Will this replace my existing PHP packages?

Yes, in place. The channel ships the same package names as Remi's PHP 7.4 (base-name php-* in the getpagespeed-extras-php74 channel, SCL php74-php-* in the main repo), with higher release numbers, so a plain yum upgrade swaps them and yum downgrade reverts.

Where do the patches come from?

From upstream php-src. Each fix is ported to the EL7 source tree and audited hunk by hunk against upstream; the provenance of every patch is documented per release, including which upstream tests were kept.

What if I would rather move to a current PHP?

The GetPageSpeed PHP 8.4 stack runs current, upstream-supported PHP on CentOS 7. Same repository, one stack package.

Is oci8 (Oracle) available?

Yes, in both shapes: php-oci8 and php74-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.