Today we’re happy to announce PHP 7.2 is the default version for new WordPress and Drupal 8 sites! Speed up your existing site by applying the 1-click update from your Pantheon site dashboard. You can update with confidence using Pantheon’s Dev, Test, Live workflow, because PHP version is managed in version control and deployed along with the rest of your code. If for some reason you want to keep using a different version, you can override via pantheon.yml. Also see Upgrading PHP versions in the Pantheon documentation.
PHP 7.2 Performance
PHP keeps getting faster! Phoronix’s benchmarking shows the following speedups with PHP 7.2:
13% faster than PHP 7.1
20% faster than PHP 7.0
250% faster than PHP 5.6
Of course, PHP is only one element of the stack running your Drupal or WordPress site. Anonymous cached requests hitting the Global CDN don’t touch PHP at all, but speedups at this level means any uncached request will be faster, which is especially important for authenticated users.
WordPress and Drupal 8 recommend PHP 7.2
It’s official: not only is PHP 7.2 supported by WordPress, but it’s now the recommended minimum version. Same goes for Drupal 8.5.0, which recommends PHP 7.2. Core and most third-party code, such as Drupal modules and WordPress plugins, should continue to work just fine with the latest version of PHP. If you find a module or plugin doesn't work correctly, you can always revert back to PHP 7.1 by updating pantheon.yml.
Drupal 7 and PHP 7.2
Today, Drupal 7 sites now default to PHP 7.1. PHP 7.2 support is planned for the next non-security release, which will most likely be Drupal 7.60. For more information see Fully support PHP 7.2 in Drupal 7,
MS SQL Extension now in PHP 7.2
As an added bonus, we’ve added a new PHP extension so you can connect to external Microsoft SQL Server Databases via sqlsrv functions. You’ll want to keep using the default MySQL for your CMS database, but this addition unlocks use cases where you want to connect to an external MS SQL server.
PHP 7.0 End of Life
Active support for PHP 7.0 ended in December 2017, and the release will reach end-of-life in December 2018. If you haven’t updated yet, we recommend doing so as soon as you can.
Go forth and make awesome!
Now that you’ve updated your site to the latest and greatest PHP version go forth and make awesome!
You may also like:
[DOC] Upgrade PHP Versions