Introduction
Learn more about using PHP on Pantheon.
PHP is a scripting language that facilitates server-side web development. The PHP code in your Pantheon account is executed at runtime whenever a request is received from the web server the same way it is on other platforms.
Supported PHP Versions
Pantheon supports the following PHP versions:
Click the links below to display complete PHP information for each version, including details of supported PHP extensions.
Version | Available | Recommended |
---|---|---|
8.4 | ✔ | ✔ Drupal 10.4+, 11.1+ ❌ WordPress |
8.3 | ✔ | ✔ |
8.2 | ✔ | ✔ |
8.1 | ✔ | ❌ |
8.0 | ✔ | ❌ |
7.4 | ✔ | ❌ |
7.3 | ✔ | ❌ |
7.2 | ✔ | ❌ |
While sites previously configured with unlisted versions of PHP may continue running those versions, a site with a listed PHP version cannot be configured to an older, unlisted PHP version.
Drush Compatibility
Refer to Managing Drush Versions on Pantheon for detailed compatibility information.
Terminus Compatibility
Refer to Version Updates for detailed compatibility information.