PHP 4.x — End of Life

EOL Critical risk
EOL: Aug 7, 20085 releases in this series1 CVE

PHP 4.x reached end of life on Aug 7, 2008, 6694 days ago, and no longer receives security fixes. The most recent release in this series is 4.4.9. 1 CVE is tracked for this series, including 1 critical. 1 of them was published after the end of life of the affected cycle and will not get an official patch. The next major version is PHP 5. See PHP 5 →

PHP 4.x — All releases

VersionReleasedActive supportEOL dateLatest patchStatusAlert me
4.4Jul 11, 2005Dec 31, 2007Aug 7, 20084.4.9EOL
4.3Dec 27, 2002Mar 31, 2005Mar 31, 20054.3.11EOL
4.2Apr 22, 2002Sep 6, 2002Sep 6, 20024.2.3EOL
4.1Dec 10, 2001Mar 12, 2002Mar 12, 20024.1.2EOL
4.0May 22, 2000Jun 23, 2001Jun 23, 20014.0.6EOL

CVEs affecting PHP 4.x (5)

CVESeverityCVSSEPSSKEVCycleDescriptionPublished
CVE-2024-3566CRITICAL9.86.23%—4.0A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d…Apr 10, 2024
CVE-2024-3566CRITICAL9.86.23%—4.4A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d…Apr 10, 2024
CVE-2024-3566CRITICAL9.86.23%—4.3A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d…Apr 10, 2024
CVE-2024-3566CRITICAL9.86.23%—4.1A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d…Apr 10, 2024
CVE-2024-3566CRITICAL9.86.23%—4.2A command inject vulnerability allows an attacker to perform command injection on Windows applications that indirectly d…Apr 10, 2024

PHP 4.x is EOL — migrate to PHP 5.x

PHP 5.x is the next major release. Plan your upgrade before PHP 4.x stops receiving security patches.

See PHP 5.x

Add a PHP 4 EOL badge to your README

Show your users which PHP version your project runs and whether it is still supported. The badge updates automatically. More formats and options →

PHP 4 EOL status
[![PHP 4 EOL status](https://eolcanary.com/badge/php/4.svg)](https://eolcanary.com/explore/php/4)

Frequently asked questions

Is PHP 4 end of life?

Yes. All PHP 4.x releases have reached end of life and no longer receive security patches. There are 1 known CVE affecting PHP 4.x, including 1 critical. Migrate to PHP 5.x as soon as possible.

What CVEs affect PHP 4?

There are 1 CVE tracked for PHP 4.x, including 1 critical severity issue. See the full list above with CVSS and EPSS scores.

What is the latest PHP 4 version?

The latest PHP 4.x patch release is 4.4.9, released on August 7, 2008. Always run the latest patch to benefit from all security fixes.

How to migrate from PHP 4 to PHP 5?

To migrate from PHP 4 to PHP 5: (1) review the official PHP 5 migration guide for breaking changes, (2) update dependencies and configuration accordingly, (3) test thoroughly in a staging environment, (4) deploy with a rollback plan. Starting early gives you time to resolve compatibility issues before your current version reaches end of life.

Is it safe to run PHP 4 in production?

No. PHP 4 has reached end of life and security vulnerabilities are no longer patched. Upgrade to a supported version immediately.

Data sourced from endoflife.date · CVE data from NVD · EPSS from FIRST.org · KEV from CISA