PHP Runtime Generation 2 includes updated extensions, PHP 8.4 availability, and enhanced security features. This new PHP runtime is currently rolling out to existing sites on the platform.
We continue to encourage customers to upgrade to Generation 2 proactively, or manually opt-out if you need more time.
Rollout Timeline
The upgrade rollout will take place over the next 601 days. For granular timeline details2, see related documentation.
Editorial note:
1 This has been revised from 40 to 60 days
2 Timeline has been relocated out of release notes into related documentation
Once the Dev environment for a site has been upgraded to Generation 2, deploying commits from Dev to Test will automatically upgrade the Test environment to Generation 2 as well. Following this pattern, an upgrade to the Live environment takes place once commits are deployed from the Test to Live environment.
How to determine which PHP runtime your site environment is using
The PHP Runtime is set at the environment-level. You can find out which generation an environment is using via Terminus:
- Terminus 4.0.2+: Use the command
terminus env:info <site>.<env>
During the automated rollout, an environment may appear as Generation 2 with the Terminus command above but the the upgrade process may not have completed yet. The upgrade process fully completes within 48 hours, or when code is committed/deployed to the environment.