Setup PHP Action
Version updated for shivammathur/setup-php to version 2.28.0.
- This action is used across all versions by 111,993 repositories.
Go to the GitHub Marketplace to find the latest changes.
Release notes
Changelog
- Specifying 8.3 in
php-versionnow installs a stable build of PHP 8.3.
- name: Setup PHP 8.3
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
- Specifying
latestinphp-versionnow installs PHP 8.3 as well.
- name: Setup Latest PHP
uses: shivammathur/setup-php@v2
with:
php-version: 'latest'
- Specifying
nightlyinphp-versionnow installs PHP 8.4.
- name: Setup Nightly PHP
uses: shivammathur/setup-php@v2
with:
php-version: 'nightly'
- Added support for
intlextension with ICU 74.1 (https://github.com/shivammathur/icu-intl/pull/7)
- name: Setup PHP with intl
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
extensions: intl-74.1
- Added support to specify
ztsinphptsenvironment variable instead oftsto 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
swooleto 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 lifeand PHP 8.1 is now marked asSecurity fixes onlyin README. See PHP Support in README.Fixed support for Blackfire extension. The action now disabled
Xdebugandpcovextensions by default whenblackfireis specified inextensionsinput.
- name: Setup PHP with blackfire extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
extensions: blackfire
- Fixed support for
grpc_php_pluginwhen installed along withprotocon macOS.
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
tools: protoc, grpc_php_plugin
- Fixed support for
geosextension 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
eventextension on macOS to useopenssl@3formula.
- 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