Repository navigation
Fix PHP 8.6 builds - #2884
Merged
Merged
Fix PHP 8.6 builds#2884
Conversation
* USe the new PHP 8.6 `zned_ini_<type>` helpers and define them in older versions of PHP * Switch from `XtOffsetof` to `offsetof` * User `ZEND_UNREACHABLE` instead of `ZEND_EMPTY_SWITCH_CASE`
4 tasks
13 tasks
henderkes
pushed a commit
to php/frankenphp
that referenced
this pull request
Nov 20, 2026
Builds the static binaries with PHP 8.6. Some extensions aren't compatible with 8.6 yet, so I switched to their development version or to Pull Requests adding support: | Extension | Source | PHP 8.6 patches included | |---|---|---| | amqp | [remicollet/php-amqp@issue-php86a2](https://github.com/remicollet/php-amqp/tree/issue-php86a2) | [php-amqp/php-amqp#638](php-amqp/php-amqp#638) (not merged) | | lz4 | [dunglas/php-ext-lz4@fix/static-zts-tsrm-cache](https://github.com/dunglas/php-ext-lz4/tree/fix/static-zts-tsrm-cache) | [kjdev/php-ext-lz4#48](kjdev/php-ext-lz4#48) (not merged) | | apcu | [krakjoe/apcu@master](https://github.com/krakjoe/apcu) | [#605](krakjoe/apcu#605), [#616](krakjoe/apcu#616), [#621](krakjoe/apcu#621), [#630](krakjoe/apcu#630) | | igbinary | [igbinary/igbinary@master](https://github.com/igbinary/igbinary) | [#408](igbinary/igbinary#408), [#419](igbinary/igbinary#419) | | imagick | [Imagick/imagick@master](https://github.com/Imagick/imagick) | [#795](Imagick/imagick#795) | | memcached | [php-memcached-dev/php-memcached@master](https://github.com/php-memcached-dev/php-memcached) | [#580](php-memcached-dev/php-memcached#580) | | msgpack | [msgpack/msgpack-php@master](https://github.com/msgpack/msgpack-php) | [#185](msgpack/msgpack-php#185) | | redis | [phpredis/phpredis@develop](https://github.com/phpredis/phpredis/tree/develop) | [#2884](phpredis/phpredis#2884), [#2888](phpredis/phpredis#2888) | | xlswriter | [viest/php-ext-xlswriter@master](https://github.com/viest/php-ext-xlswriter) | [#591](viest/php-ext-xlswriter#591) | I also temporiraly removed protobuf, until a release includes [protocolbuffers/protobuf#31752](protocolbuffers/protobuf#31752). (the `google/protobuf` Composer package still works without the extension)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
zned_ini_<type>helpers and define them in older versions of PHPXtOffsetoftooffsetofZEND_UNREACHABLEinstead ofZEND_EMPTY_SWITCH_CASE