Skip to content
Evergreen Evergreen
Documentation

App Service PHP stacks older than 8.0 are past end of life

End of life as of 2022-11-28. Replacement: App Service PHP 8.3 or later. Source: Language Runtime Support Policy - Azure App Service.

Check a version:

evergreen check pkg:generic/azure-app-service/php
Azure App Service follows the community support timeline for each language stack: past the end-of-support date the app keeps running, but the platform stops providing security patches or related support for that runtime version. PHP 7.4, the newest release in this range, reached end of life on 2022-11-28, so a PHP 7.4 or older app runs an unpatched runtime.

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

   
Status End of life
Severity high
Ecosystem serverless
Component pkg:generic/azure-app-service/php
Affected versions vers:semver/<8.0.0
Date from the source 2022-11-28
Replacement App Service PHP 8.3 or later
Evidence last seen 2026-11-03
Reviewed 2026-11-03 by arminazimi
Review due 2027-02-01 (90 days after the last review)
Rule ID serverless.azure-app-service.php-below-8-0

Sources

Migration

Constraints

  • App Service follows the community end-of-support date for each language stack and stops providing security patches and related support for that runtime version past the date.
  • The platform controls the minor and patch version of a managed stack, so raising the stack version is the only way to get a patched runtime.
  • The stack is declared in siteConfig.linuxFxVersion on Linux and siteConfig.windowsFxVersion on Windows; both are set with az webapp config set.

Steps

  1. Raise the App Service language stack. Set php to a supported stack version (see the replacement) with az webapp config set –linux-fx-version or –windows-fx-version, then redeploy the app.
  2. Align the stack declaration. Change the same stack in the deployment source too - the siteConfig resource in an Azure Resource Manager template, the azurerm_linux_web_app linux_fx_version or azurerm_windows_web_app windows_fx_version in Terraform, and the Bicep equivalent - so the next deployment does not reset php.

Verification

  • az webapp config show --resource-group <group> --name <app> --query linuxFxVersion: Confirm the app reports the new stack version.
  • az webapp restart --resource-group <group> --name <app> && az webapp log tail --resource-group <group> --name <app>: Restart the app and watch the startup log for runtime errors on the new stack.

Detected by

The serverless detector. See Detectors and Compatibility.

Other versions of this product

Same ecosystem

Data

This page is generated from registry/serverless.json, rule serverless.azure-app-service.php-below-8-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