end-of-life.org

PHP 4.0 End of Life

Support dates, vulnerabilities published since end of life, and upgrade guidance — rebuilt from live data.

End of Life

PHP 4.0 reached end of life on 23 Jun 2001. It no longer receives security fixes.

9,235 days without security patches
739 PHP CVEs published since EOL
Recommended action: upgrade to PHP 8.5.
Check your versionphp --version

Support timeline

Official dates, read directly from php.net.

MilestoneDateStatus
Initial release22 May 2000 26y 4mo ago
Security Support ended23 Jun 2001 25y 3mo ago
Latest release4.0.6 · 23 Jun 2001 final

The cost of staying: CVEs since end of life

739 PHP vulnerabilities have been published since 23 Jun 2001. All were fixed in supported branches — 4.0 received none of them. Source: NVD.

PHP CVEs published since 4.0's EOL, by year

129 of the 739 are rated critical · data refreshed 2026-10-05

0 60 120 2 2001 13 2002 11 2003 6 2004 20 2005 33 2006 114 2007 21 2008 22 2009 36 2010 36 2011 22 2012 14 2013 36 2014 42 2015 120 2016 46 2017 24 2018 34 2019 19 2020 8 2021 8 2022 7 2023 18 2024 13 2025 14 2026
CVE-2007-1383 CVSS 9.8

Published 10 Mar 2007 · rated critical — fixed in supported branches only, never in 4.0. Details

CVE-2007-1399 CVSS 9.8

Published 10 Mar 2007 · rated critical — fixed in supported branches only, never in 4.0. Details

CVE-2008-0599 CVSS 9.8

Published 5 May 2008 · rated critical — fixed in supported branches only, never in 4.0. Details

Where to go from 4.0

Recommended target: PHP 8.5 (supported until 31 Dec 2029).

The newest actively supported branch is PHP 8.5 (latest release 8.5.11). Review php.net before upgrading. Run composer why-not php 8.5 to check package compatibility.

Frequently asked questions

Is PHP 4.0 still safe to use?

No. PHP 4.0 stopped receiving security fixes on 23 Jun 2001. Since then, 739 PHP vulnerabilities have been published and fixed in supported branches — PHP 4.0 received none of those fixes.

Can I still download PHP 4.0?

Yes — the final release (4.0.6) generally remains available from vendor archives and OS package mirrors, but installing it means running software with known, unpatched vulnerabilities.

What should I upgrade PHP 4.0 to?

Upgrade to PHP 8.5, the newest actively supported branch (supported until 31 Dec 2029).

All PHP versions