Skip to content

2.40.0-beta

Pre-release
Pre-release

Choose a tag to compare

@shivammathur shivammathur released this 29 Sep 02:24
· 17 commits to main since this release
bc12f5c

setup-php 2.40.0 is ready for beta testing, and we need your help to try it in your workflows and report any issues.

Please try it out!

  • Use shivammathur/setup-php@2.40.0-beta to test this release.
- name: Setup PHP
  uses: shivammathur/setup-php@2.40.0-beta
  with:
    php-version: '8.5'
  • Switch back to shivammathur/setup-php@v2 if anything breaks.
  • Report any issues, mentioning that you tried the 2.40.0 beta and including your workflow and relevant logs.

Highlights

  • Added support for PHP 8.7 nightly builds and Ubuntu 26.04.
  • Improved PHP installation on macOS and Windows along with extension caching support.
  • Fixed support for Intel macOS and macOS 14 arm64 based runners.
  • Added configurable verbose logging and improved PHP version file support.

Note

Support for intel macOS and macOS 14 arm64 based runners has been marked as deprecated and will be removed completely in future, so it is recommend to switch to arm64 based macOS runners (macos-15 or newer).

For the complete list of changes, please refer to the Full Changelog

Follow for updates

setup-php reddit setup-php twitter setup-php status