Repository navigation
Description
The PHP 8.6 images ship without the extensions below, because none of them has a release that builds or runs on PHP 8.6.0 yet. PHP 8.2–8.5 images keep all of them.
PHP 8.6 removed or changed several internal C APIs that these extensions still use, including the XtOffsetOf(), zval_dtor() and INI_STR()/INI_INT()/INI_BOOL() macros and the signatures of php_verror() and php_stream_wrapper_log_error(). The official PHP 8.6 images are also thread-safe (ZTS) only.
Extensions missing from PHP 8.6
| Extension | Version tried | Result on PHP 8.6.0 |
|---|---|---|
| amqp | 2.2.0 | Build fails: XtOffsetOf, INI_INT, INI_STR |
| apcu | 5.1.28 | Build fails: php_verror() signature |
| ds | 2.0.0 | Build fails: XtOffsetOf |
| grpc | 1.85.3 | Build failed on 8.6.0RC7; not retested on 8.6.0 |
| igbinary | 3.2.17RC1 | Build fails on 8.6.0RC7 |
| imagick | 3.8.1 | Build fails: XtOffsetOf |
| imap | 1.0.3 | Build fails: XtOffsetOf, INI_STR |
| memcached | 3.4.0 | Build fails on 8.6.0RC7: XtOffsetOf, zval_dtor |
| oauth | 2.0.10 | Build fails: XtOffsetOf |
| pcov | 1.0.12 | Build fails on 8.6.0RC7: INI_BOOL, INI_INT, INI_STR |
| protobuf | 5.36.2 | Build fails: zval_dtor |
| rdkafka | 6.0.5 | Build fails on 8.6.0RC7: XtOffsetOf, zval_dtor |
| redis | 6.3.0 | Build fails on 8.6.0RC7: INI_INT, INI_STR |
| smbclient | 1.1.2 | Build fails: php_error_docref1 removed |
| uploadprogress | 2.0.2 | Build fails: INI_STR |
| yaml | 2.3.0 | Build fails on 8.6.0RC7: zval_dtor |
| xdebug | 3.5.3 | Release requires PHP < 8.6 |
| spx | 0.4.22 | Release supports PHP 5.4–8.5 only |
| New Relic | latest agent | Installer reports PHP 8.6 as unsupported |
Pre-releases that may help, not yet tested or shipped: xdebug 3.6.0alpha1 declares PHP 8.6 support, and rdkafka 7.0.0alpha1 is available.
These extensions build and load on PHP 8.6.0 and are included: ast, brotli, event, mongodb, opentelemetry, uuid and xhprof. The SQL Server drivers (sqlsrv and pdo_sqlsrv) are included from r20, with release 5.14.0 (#276).
Adding an extension back
When an extension publishes a stable release that supports PHP 8.6:
- Remove it from the PHP 8.6 entry of the
unavailablelist in8/install-extensions.sh, or from the PHP 8.6 condition in8/Dockerfilefor New Relic and SPX. - Add its module to
8/tests/php_modules/8.6and its version to8/tests/extensions.phpif the release differs from other PHP versions. - Update the extension table in
README.md. - Pass all image tests and scans, then publish a new image revision.
Close this issue when every extension above is back in the PHP 8.6 images, or has been dropped on purpose for all PHP versions.
Activity