Skip to main content

PHP 8.5 now available on the platform

April 6, 2026

PHP 8.5 is now available on the Pantheon platform. You can set PHP 8.5 as the version to use for your site via your pantheon.yml file.

Key changes in PHP 8.5:

  • OPcache is now built into PHP core and no longer requires a separate extension package.
  • Pipe operator (|>) for improved function chaining.
  • curl_close() and imagedestroy() are deprecated but remain functional. These will emit deprecation notices but do not affect site behavior.

For more information on supported PHP versions and how to upgrade, refer to PHP on Pantheon.