

Note that upstreams set the default PHP version via, so any value you set in pantheon.yml will override that default. Be sure to check your New Relic benchmarks before/after deploying to see the improvement! Share your results on Twitter with the hashtag #NoBSBenchmarks. If you find there are any PHP notices due to legacy code, you can fix them in that environment and deploy both the PHP version update and necessary compatibility changes to your code at the same time. To upgrade to PHP 7.1, include the following in a pantheon.yml file in the root of your site’s codebase: On Pantheon, your site’s PHP version is managed along with your code, so you can make sure everything works as you’d expect in Dev or a Multidev environment before deploying to Live. Sites with IonCube requirements are now welcome on Pantheon! In addition, Pantheon’s build of PHP 7.1 includes the IonCube decoder-required to use some licensed code, such as the popular Memberium premium WordPress plugin. If you’re still on PHP 5.x, then it’s high time to speed up your site by updating now! While full Drupal 7 support is a work in progress, many sites can upgrade without errors, and any warnings that do pop up are easy to fix.

PHP 7.1 is fully supported by WordPress and Drupal 8 core. PHP 7.1 is now available platform-wide with security and performance improvements over 7.0.
