PHP second-generation runtimes (after end of support): To upgrade to asupported version of PHP,
update theapp.yamlfile by specifying a version of PHP that you
want your app to run. For example:
runtime:phpVERSION
WhereVERSIONis the PHPMAJORandMINORversion numbers.
For example, to use the latest PHP version, PHP 8.4,
specify84.
For more information, see thePHP runtime overview.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eApplications must be upgraded to the latest supported runtime version to receive security updates and technical support.\u003c/p\u003e\n"],["\u003cp\u003ePHP 5.5 applications must be migrated to a supported PHP version, as PHP 5.5 reached end of support on January 30, 2024.\u003c/p\u003e\n"],["\u003cp\u003eWhile existing PHP 5.5 apps will continue to run, App Engine may block redeployment after the end of support date.\u003c/p\u003e\n"],["\u003cp\u003eUpgrading PHP second-generation runtimes involves updating the \u003ccode\u003eapp.yaml\u003c/code\u003e file to specify the desired supported PHP version.\u003c/p\u003e\n"]]],[],null,["# Upgrade an existing application\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\nYou must upgrade your applications to the [latest supported runtime version](/appengine/docs/standard/lifecycle/support-schedule#php) to continue receiving security updates and be eligible for\ntechnical support.\n\nThe process of upgrading an existing app depends on the runtime version that\nyour app currently uses:\n\n- **PHP 5.5 (first-generation runtime)** : You must migrate your app to the [latest supported PHP version](/appengine/docs/standard/lifecycle/support-schedule#php). PHP 5.5 has reached [end of support](/appengine/docs/standard/lifecycle/runtime-lifecycle#end_of_support) on January 30, 2024. Your\n existing PHP 5.5 applications will continue to run and receive traffic. However,\n App Engine might block re-deployment of applications that use runtimes\n [after their end of support date](/appengine/docs/standard/lifecycle/support-schedule#php).\n To migrate to the latest supported version of PHP, see\n [Migrate from PHP 5.5 to the latest PHP runtime](/appengine/migration-center/standard/migrate-to-second-gen/php-differences).\n\n- **PHP second-generation runtimes (after end of support)** : To upgrade to a\n [supported version of PHP](/appengine/docs/standard/lifecycle/support-schedule#php),\n update the `app.yaml` file by specifying a version of PHP that you\n want your app to run. For example:\n\n runtime: php\u003cvar translate=\"no\"\u003eVERSION\u003c/var\u003e\n\n Where \u003cvar translate=\"no\"\u003eVERSION\u003c/var\u003e is the PHP `MAJOR` and `MINOR` version numbers.\n For example, to use the latest PHP version, PHP 8.4,\n specify `84`.\n For more information, see the\n [PHP runtime overview](/appengine/docs/standard/php-gen2/runtime)."]]