PHP 4.0 · Version Status

PHP 4.0 End of Life Date

PHP 4.0 end-of-life date, support status, and CVE risk. Data reconciled from official vendor documentation and endoflife.date at every build; the source of each date is on the product page.

⚠ PHP 4.0 is past end of life. This version no longer receives security patches. 9268 days past EOL — migrate to a supported version immediately.
EOL Date
Jun 23, 2001
9268 days past EOL
Latest Release
4.0.6
Standard release
Release Date
May 22, 2000
PHP 4.0 series
Where these dates come from
End of lifeJun 23, 2001Vendor's own page, read by our adapter · php.net · checked Nov 3, 2026high · 2 sources agree
End of active supportJun 23, 2001endoflife.date (open dataset) · endoflife.datemedium · 1 source agrees
ReleaseMay 22, 2000Vendor's own page, read by our adapter · php.net · checked Nov 3, 2026high · 2 sources agree
Confidence: high = two or more independent sources agree (the vendor's page read by our adapter, a person's check against the vendor, the dataset the date came from); medium = one; low = the vendor page disagrees or our last read is stale. How we source dates.
Spotted a date that disagrees with the vendor's own lifecycle page? Report it with the vendor's link → Every correction is published on the accuracy page.
Lifecycle detail

PHP 4.0 was released on May 22, 2000 and support ended on June 23, 2001 — a supported lifespan of 1 year and 1 month, shorter than the 3 years and 1 month median for PHP releases. Its latest release on record is 4.0.6, published June 23, 2001 — on the day support ended. It has been past its end-of-life date for 25 years and 5 months. 22 newer PHP releases have shipped since.

All PHP versions PHP 4.1 →
90 / 100
Critical Risk
EOL Risk Score™  How is this calculated? →
EOL Recency
40/40
Attack Surface
30/30 Critical tier
CISA KEV Exposure
20/20 Named in CISA KEV
Extended Support
0/10 Available
EOL Risk Score™ — proprietary methodology by endoflife.ai. Factors: EOL recency, attack surface breadth, CISA KEV catalog presence, extended support availability. Updated at every build. Methodology →  ·  View score card →
Recommended upgrade path
PHP 8.5
Latest release: 8.5.12 · EOL: Dec 31, 2029
View full PHP timeline →
Extended Support
Need PHP 4.0 patched past end of life?

Extended support for PHP exists: vetted vendors ship security patches past the official date. Right now that coverage spans PHP 7.2, 7.3, 7.4, 8.0, 8.1, 8.2. Whether it covers PHP 4.0 is part of what we check. Leave an email and we reply within one business day with matched options and pricing guidance, or an honest "no vendor covers this version." Free, no obligation; vendors do not pay for placement.

All PHP Versions
VersionLatestEOL DateStatus
→ 4.0 4.0.6 Jun 23, 2001 EOL
4.1 4.1.2 Mar 12, 2002 EOL
4.2 4.2.3 Sep 6, 2002 EOL
4.3 4.3.11 Mar 31, 2005 EOL
5.0 5.0.5 Sep 5, 2005 EOL
4.4 4.4.9 Aug 7, 2008 EOL
5.1 5.1.6 Aug 24, 2006 EOL
5.2 5.2.17 Jan 6, 2011 EOL

What does PHP 4.0 end of life mean?

When PHP 4.0 reaches end of life, the maintainers stop issuing security patches for this version. CVEs discovered after the EOL date are publicly disclosed on the National Vulnerability Database with no patch available. Exploit code frequently appears on GitHub within days of disclosure.

The CVE blind spot: A CVE-based scan does not show the ongoing accumulation of unpatched vulnerabilities in EOL software versions. Some scanners flag unsupported versions of common products, but coverage varies, and none of them give you the date in advance. Running PHP 4.0 past its EOL date creates a growing attack surface that a clean scan result does not rule out.

Migrate to PHP 8.5 or implement compensating controls — network segmentation, enhanced monitoring, restricted access — while migration is underway.

Frequently Asked Questions
When does PHP 4.0 reach end of life?
PHP 4.0 reached end of life on June 23, 2001. This version is no longer receiving security patches.
Is PHP 4.0 still supported?
No. PHP 4.0 reached end of life on June 23, 2001 and is no longer receiving security patches.
What should I upgrade to from PHP 4.0?
The recommended upgrade from PHP 4.0 is PHP 8.5 — the latest actively supported version. Check the PHP full timeline for all supported versions.
What are the security risks of running PHP 4.0 past EOL?
Since PHP 4.0 reached end of life, the maintainers no longer issue security patches. Any CVEs disclosed after the EOL date accumulate with no vendor fix. A CVE-based scan does not show this — it is the CVE blind spot; some scanners flag unsupported versions of common products, but coverage varies and none give the date in advance. Organizations running EOL PHP should migrate immediately or implement compensating controls.
Does PHP track end-of-life by point release (e.g. PHP 8.5.1, PHP 8.5.2)?
No — PHP end-of-life dates apply to the entire 8.5.x release series, not individual point releases. A point release like PHP 8.5.1 or PHP 8.5.2 shares the same EOL date as PHP 8.5. Security patches stop for the entire 8.5.x line on that date, regardless of which patch version you are running. Check the table above for EOL dates by major version series.
Deep Dive
Guide to PHP 4.0
December 31, 2026 End-of-Life Day: PHP 8.2, Spring Boot 4.0 and More
→
Full guide
Migrating Off PHP 7: A Practical Upgrade Path to 8.x
→
Version guide
PHP2Shell: PHP RCE Fixed in 8.2 to 8.5, Source Patches for 7.4 to 8.1
→
Version guide
PHP 8.2 End of Life: December 31, 2026 — Migration Guide & Extended Support
→
Data from endoflife.date API · Generated at build time · How we source data →
Related Products
PythonNode.jsMySQLMariaDBDrupal