It is possible to change the version of PHP your Cloud instance between PHP 7.1.x, 7.2.x and 7.3.x on legacy platforms and 7.4.x, 8.0.x and 8.1.x on Gen2 platforms—typically the latest releases of each.
Please note: some Extras and other software may not work with the latest version of PHP.
To change the version of PHP your Cloud instance is using:
- Find the Cloud you would like to change the PHP version for in the Clouds list view of the Dashboard.
- Click on the Cloud’s name to open to the Cloud edit view.
- At the top of the Web Server tab, you will see the PHP Version section.
- Choose the minor version (7.x or 8.x) to enable the PHP version change.
- Click to confirm the change in the confirmation dialogue box.
PHP version changes typically take a minute or less to take effect but please allow for up to 5 minutes. If you have issues with changing versions, please open a ticket and let us know the internal URL of the site that is experiencing issues.
PHP Patch Version Policy
MODX Cloud generally has the latest patched version of PHP available upon release. However, if a patch release (the “x” in 8.0.x) does not contain changes that impact the Cloud platform, that version may be skipped. Examples of skipped patch releases include unsupported utilities or Windows-only issues. Any security issue or major bugfix will be supported in Cloud as soon as possible.
PHP Version Support Timeline
MODX Cloud removes PHP versions approximately six months after PHP.net’s supported versions timeline end of life (EOL). The following table summarizes the PHP version support in MODX Cloud:
|PHP||In Cloud||PHP EOL|
|7.1.x||2 Feb 2017 with new version switcher support||1 Dec 2019|
|7.2.x||Jul 2019||30 Nov 2020|
|7.3.x||Jul 2019||6 Dec 2021|
|7.4.x||August 2021 (Gen2 platforms)||28 Nov 2022|
|8.0.x||August 2021 (Gen2 platforms)||26 Nov 2023|
|8.1.x||April 2022 (Gen2 platforms)||25 Nov 2024|