Skip to content
Compare
Choose a tag to compare
@shivammathur shivammathur released this 27 Nov 12:52
· 127 commits to main since this release
e6f7513

Changelog

  • Specifying 8.3 in php-version now installs a stable build of PHP 8.3.
- name: Setup PHP 8.3
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
  • Specifying latest in php-version now installs PHP 8.3 as well.
- name: Setup Latest PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: 'latest'
  • Specifying nightly in php-version now installs PHP 8.4.
- name: Setup Nightly PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: 'nightly'
- name: Setup PHP with intl
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: intl-74.1
  • Added support to specify zts in phpts environment variable instead of ts to set up thread-safe PHP on Linux and Windows.
- name: Setup PHP 8.3 (ZTS)
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
  env:
    phpts: zts
  • Fixed support for debug builds. (#784)
- name: Setup PHP 8.3
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
  env:
    debug: true
  • Added support for cached builds for PHP 8.3, PHP 8.4, and zts builds of all versions of PHP 5.6 and newer on Ubuntu GitHub Hosted environments. This should reduce the time it takes to set up these PHP versions.

  • Added swoole to the builds cache for GitHub-hosted environments for PHP 7.2 and newer.

- name: Setup PHP 8.3
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: swoole
  • Added PHP 8.3 and PHP 8.4 to the extension lists in the wiki. (#787).

  • PHP 8.0 is now marked as End of life and PHP 8.1 is now marked as Security fixes only in README.
    See PHP Support in README.

  • Fixed support for Blackfire extension. The action now disabled Xdebug and pcov extensions by default when blackfire is specified in extensions input.

- name: Setup PHP with blackfire extension
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: blackfire
  • Fixed support for grpc_php_plugin when installed along with protoc on macOS.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    tools: protoc, grpc_php_plugin
  • Fixed support for geos extension on PHP 8.3.
- name: Setup PHP with geos extension
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: geos
  • Fixed support for event extension on macOS to use openssl@3 formula.
- name: Setup PHP with geos extension
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.3'
    extensions: event
  • Update Node.js dependencies.

Merged Pull Requests

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

Follow for updates

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