Skip to content
Evergreen Evergreen
Documentation

PHP 7.0 is end-of-life

End of life as of 2019-01-10. Replacement: PHP 8.4 or later. Source: PHP release branches.

Check a version:

evergreen check pkg:generic/php

The PHP release branches list marks PHP 7.0 as end of life: active support ended on 2018-01-04 and security support ended on 2019-01-10.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status End of life
Severity high
Ecosystem php
Component pkg:generic/php
Affected versions vers:semver/>=7.0.0\|<7.1.0
Date from the source 2019-01-10
Replacement PHP 8.4 or later
Evidence last seen 2026-10-20
Reviewed 2026-10-20 by arminazimi
Review due 2027-01-18 (90 days after the last review)
Rule ID php.runtime.eol-7.0

Sources

Migration

Constraints

  • Keep .php-version, .tool-versions, composer.json require.php and config.platform.php, composer.lock platform.php, CI matrices, and container images on one supported PHP release line.
  • Confirm Composer packages and extensions build on the target PHP and reinstall dependencies after changing the runtime.

Steps

  1. Raise the PHP version. Change the reported declaration from PHP 7.0 to a supported release (see the replacement), using the project’s existing version manager.
  2. Align other PHP version surfaces. Update CI setup-php versions, Dockerfile php: images, composer.json require.php and config.platform.php, and composer.lock platform.php so they agree.

Verification

  • php --version: Confirm the active runtime is the intended release.
  • composer validate && composer install: Validate and reinstall dependencies on the new PHP.
  • composer validate && vendor/bin/phpunit: Validate the Composer project and run the PHPUnit suite on the new PHP.

Detected by

The php detector. See Detectors and Compatibility.

Other versions of this product

Same ecosystem

Data

This page is generated from registry/php.json, rule php.runtime.eol-7.0, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated