Tested on 8.6.0RC4 and 8.6.0 · Updated
pecl: not found on php:8.6
The official php:8.6 Docker images have no pecl and no pear. This is deliberate, and it will not come back. The same images also leave out the built-in mbstring extension, and every variant is now built thread-safe (ZTS). PHP 8.6.0 was released on 19 November 2026, and on the final php:8.6.0 images we ran that day, all three changes are there. php:latest already runs PHP 8.6.0.
We ran 8.6.0RC4 next to 8.5.12 on three official images (cli-trixie, apache-trixie, fpm-alpine3.24) on 22 October 2026. Three things break when you move a Dockerfile from 8.5 to 8.6:
php:8.5.12 | php:8.6.0RC4 | |
|---|---|---|
pecl install apcu | installs | sh: 1: pecl: not found, exit code 127 |
| mbstring | built in | missing: mb_strlen() is Call to undefined function |
| Thread safety | non-thread-safe (NTS) | thread-safe (ZTS), on all three images |
mbstring has a tested one-line fix. Since 28 October, install-php-extensions also works on the 8.6 release candidates: in our 29 October run on RC4 it got seven common extensions loaded, mbstring included, and installed four PECL extensions. On the final 8.6.0 images, apcu still fails with the installer. phpredis builds from its 6.4.0RC1 release candidate, and Xdebug installs from its 3.6.0alpha1 alpha. The latest imagick and igbinary releases do not compile on the 8.6.0 images we ran; their master branches, at the commits we pinned, built and loaded (details). Commands and outputs are in the receipts.
Paste your Dockerfile or compose file to see, for every official image in it, whether Docker still builds the tag, the PHP patch it builds today, and the tag to move to. Your browser asks GitHub for Docker's public build lists and endoflife.date for support dates; your full tags stay on the page.
Put mbstring back
Install the Oniguruma headers, then build mbstring from the PHP source that ships in the image. This worked on all three 8.6.0RC4 images.
Debian (cli, apache, fpm):
RUN apt-get update && apt-get install -y libonig-dev \
&& docker-php-ext-install mbstringAlpine:
RUN apk add --no-cache oniguruma-dev \
&& docker-php-ext-install mbstringCheck it:
php -r 'echo mb_strlen("é"), PHP_EOL;'That prints 1. Without the headers, docker-php-ext-install mbstring stops with configure: error: Package requirements (oniguruma) were not met. That part is not new: it fails the same way on 8.5.12, where nobody needed it because mbstring was already built in.
If you already use install-php-extensions, version 2.13.1, the one we tested, installs the headers and builds mbstring for you (below).
Laravel still resolves without it. composer update --dry-run for laravel/framework ^12.0 succeeded on 8.6.0RC4 without ext-mbstring, because symfony/ (v1.43.0) provides it. We did not run an application on the polyfill, so we did not measure its speed or edge cases. Code that calls mb_* functions with no polyfill installed fails with the fatal error above.
Extensions on 8.6: what installs today
The official image documentation on Docker Hub still shows pecl install redis-5.3.7 under "PECL extensions", with no note about 8.6 (read 22 October 2026). On 8.6 that line exits 127.
install-php-extensions now supports 8.6 release candidates. In mlocati/docker-php-extension-installer, version 2.12.5 added PHP 8.6 RC support on 28 October, and 2.12.6, 30 minutes later, added gd and mbstring for 8.6. We tested 2.13.1, the current release, on 29 October. This is the sequence we ran in each container, written as one Dockerfile step:
RUN curl -fsSL -o /usr/local/bin/install-php-extensions \
https://github.com/mlocati/docker-php-extension-installer/releases/download/2.13.1/install-php-extensions \
&& chmod +x /usr/local/bin/install-php-extensions \
&& install-php-extensions gd intl pdo_mysql zip bcmath mbstring opcacheOn php:8.6.0RC4 cli-trixie, cli-alpine3.24 and fpm-alpine3.24 it exited 0 and all seven extensions loaded. opcache is already in the image, and the installer said so and moved on. It installed the Oniguruma headers itself, and mb_strlen("é") printed 1.
Four PECL extensions also installed and loaded on cli-trixie and cli-alpine3.24. We ran each one on its own:
install-php-extensions mongodb: mongodb 2.5.5install-php-extensions uuid: uuid 1.3.0install-php-extensions xhprof: xhprof 2.3.10install-php-extensions event: event 3.1.6
The image has no pecl, so the installer sets up PEAR itself and downloads these from pecl.php.net. Its list of supported extensions in 2.13.1 names 68 for PHP 8.6, among them zstd, brotli, opentelemetry, parallel and inotify, which we did not run. apcu, redis, xdebug, imagick and igbinary are not on it. Xdebug, imagick and igbinary are further down.
apcu and phpredis 6.3.0 still do not install. The installer no longer refuses 8.6. It downloads apcu 5.1.28 and phpredis 6.3.0, the latest stable releases, and their make step fails with exit code 1, on the same kind of compiler errors as our hand builds below. On 23 November we ran both again with installer 2.13.2 on the final 8.6.0 cli-trixie and fpm-alpine3.24 images, and both still failed. Until 28 October the installer failed earlier: it refused 8.6 with Unsupported PHP version: 8.6, and its fallback tool, pickle, then crashed (the 22 October rows in the receipts). Releases before 2.12.5 have no 8.6 support, so an installer pinned to one of them still stops there. If you pin the installer, move the pin to 2.13.1 or later: we ran the common set on 2.13.1, apcu, phpredis and Xdebug on 2.13.2, phpredis 6.4.0RC1 and Xdebug on 2.13.3, and imagick and igbinary on 2.13.4.
PIE 1.5.3 builds an extension whose current release supports 8.6. pie install mongodb/ built and loaded mongodb 2.5.5 on 8.6.0RC4 cli-trixie, after we installed the build packages with apt. PIE warned that libtoolize was missing and built it anyway. For apcu it does no better than the installer: pie install apcu/apcu picked apcu 5.1.28, the latest release (December 2025), and its make step failed on 8.6.0RC4. The same command built and loaded apcu on 8.5.12. PIE wrote the compiler output to a temporary file inside the container, which was removed after the run, so we built the same apcu 5.1.28 release by hand (phpize && ./configure && make). It builds on 8.5.12 and stops on 8.6.0RC4 with apc.c:44:17: error: too many arguments to function 'php_verror': PHP 8.6 changed that function's arguments. apcu's 8.6 fixes are merged but not released: krakjoe/apcu#634 asks for a 5.1.29 release before PHP 8.6.
phpredis is in the same position. PIE picked 6.3.0, the latest release (November 2025), and its make step failed on 8.6.0RC4. A hand build of 6.3.0 works on 8.5.12; on 8.6.0RC4 it stops at functions the 8.6 headers no longer declare, among them zval_is_true, zval_dtor and ZEND_WRONG_PARAM_COUNT. phpredis merged its 8.6 build fixes in June and July 2026 (#2884, #2888). Its latest stable release is still 6.3.0.
phpredis 6.4.0RC1 builds on 8.6.0. It is a release candidate, published on pecl.php.net on 23 November 2026, not a stable release. On php:8.6.0-cli-trixie and php:8.6.0-fpm-alpine3.24 it built and loaded when we built it with the image's own tools, without pecl. Debian:
RUN docker-php-source extract \
&& mkdir -p /usr/src/php/ext/redis \
&& curl -fsSL -o /tmp/redis.tgz https://pecl.php.net/get/redis-6.4.0RC1.tgz \
&& tar xzf /tmp/redis.tgz -C /usr/src/php/ext/redis --strip-components 1 \
&& docker-php-ext-install redisAlpine also needs the build packages first:
RUN apk add --no-cache --virtual .build-deps $PHPIZE_DEPS \
&& docker-php-source extract \
&& mkdir -p /usr/src/php/ext/redis \
&& curl -fsSL -o /tmp/redis.tgz https://pecl.php.net/get/redis-6.4.0RC1.tgz \
&& tar xzf /tmp/redis.tgz -C /usr/src/php/ext/redis --strip-components 1 \
&& docker-php-ext-install redisWe checked that the extension loads and that new Redis() works. We did not connect to a Redis server, and we used the default build options (no compression or serializer options).
install-php-extensions redis-6.4.0RC1 needs installer 2.13.3 or later. Installer 2.13.2 answers a build question that is new in 6.4.0 wrongly, and configure stops with Cannot find php_phpser_api.h. The fix (mlocati/docker-php-extension-installer#1403) is in 2.13.3, released on 23 November. With 2.13.3 it installed and loaded on both final 8.6.0 images. We did not run 2.13.3 on 8.5, and the installer's own build options differ from the build above (it turns on lzf, zstd and lz4 compression).
Xdebug 3.6.0alpha1 installs. install-php-extensions xdebug/xdebug@3.6.0alpha1 (installers 2.13.2 and 2.13.3) installed and loaded it on both final 8.6.0 images. It is an alpha release from 8 September 2026, and we checked only that it loads, not debugging or coverage. The latest Xdebug on pecl.php.net is 3.5.3. We did not test a plain install-php-extensions xdebug.
imagick and igbinary: the releases fail, master builds. On 24 November we ran both on php:8.6.0-cli-trixie and php:8.6.0-fpm-alpine3.24. Their latest releases on pecl.php.net do not compile on these images. imagick 3.8.1 stops at implicit declaration of function 'XtOffsetOf' (php_imagick_defs.h:276), and igbinary 3.2.17RC1 at implicit declaration of function 'zval_dtor' (igbinary.c:2604). install-php-extensions imagick and install-php-extensions igbinary (installer 2.13.4) download those same releases and stop on the same errors.
The code on each project's master branch built, loaded and passed one functional check on both images. Master moves, so pin the commit we ran: Imagick 55ed2e9fda264395636a2e27e51f31673f5566ab and igbinary fe33bf9ec03e97e2290a090abc72326e6910f5c1. With the image's own tools, Debian:
RUN apt-get update && apt-get install -y libmagickwand-dev \
&& docker-php-source extract \
&& mkdir -p /usr/src/php/ext/imagick \
&& curl -fsSL -o /tmp/imagick.tgz https://codeload.github.com/Imagick/imagick/tar.gz/55ed2e9fda264395636a2e27e51f31673f5566ab \
&& tar xzf /tmp/imagick.tgz -C /usr/src/php/ext/imagick --strip-components 1 \
&& docker-php-ext-install imagick
RUN docker-php-source extract \
&& mkdir -p /usr/src/php/ext/igbinary \
&& curl -fsSL -o /tmp/igbinary.tgz https://codeload.github.com/igbinary/igbinary/tar.gz/fe33bf9ec03e97e2290a090abc72326e6910f5c1 \
&& tar xzf /tmp/igbinary.tgz -C /usr/src/php/ext/igbinary --strip-components 1 \
&& docker-php-ext-install igbinaryAlpine:
RUN apk add --no-cache imagemagick-dev imagemagick $PHPIZE_DEPS \
&& docker-php-source extract \
&& mkdir -p /usr/src/php/ext/imagick \
&& curl -fsSL -o /tmp/imagick.tgz https://codeload.github.com/Imagick/imagick/tar.gz/55ed2e9fda264395636a2e27e51f31673f5566ab \
&& tar xzf /tmp/imagick.tgz -C /usr/src/php/ext/imagick --strip-components 1 \
&& docker-php-ext-install imagick
RUN apk add --no-cache $PHPIZE_DEPS \
&& docker-php-source extract \
&& mkdir -p /usr/src/php/ext/igbinary \
&& curl -fsSL -o /tmp/igbinary.tgz https://codeload.github.com/igbinary/igbinary/tar.gz/fe33bf9ec03e97e2290a090abc72326e6910f5c1 \
&& tar xzf /tmp/igbinary.tgz -C /usr/src/php/ext/igbinary --strip-components 1 \
&& docker-php-ext-install igbinaryWith install-php-extensions 2.13.4 (download it as in the step at the top of this section, with 2.13.4 in place of 2.13.1), name the same commits. We installed the system packages in the same step, so we do not know whether the installer would add them by itself on 8.6. Debian:
RUN apt-get update && apt-get install -y libmagickwand-dev \
&& install-php-extensions Imagick/imagick@55ed2e9fda264395636a2e27e51f31673f5566ab
RUN install-php-extensions igbinary/igbinary@fe33bf9ec03e97e2290a090abc72326e6910f5c1Alpine:
RUN apk add --no-cache imagemagick-dev imagemagick $PHPIZE_DEPS \
&& install-php-extensions Imagick/imagick@55ed2e9fda264395636a2e27e51f31673f5566ab
RUN apk add --no-cache $PHPIZE_DEPS \
&& install-php-extensions igbinary/igbinary@fe33bf9ec03e97e2290a090abc72326e6910f5c1We first ran each extension in its own container, then built each of the four blocks above as written, both extensions in one image, and the same checks passed. The version string does not tell a master build from the release that fails. An imagick master build reports phpversion('imagick') as @PACKAGE_VERSION@ when built with docker-php-ext-install, and as 3.8.1 with the installer, because the package.xml on master still says 3.8.1. igbinary master reports 3.2.18-dev both ways. To know which build an image has, read the commit in its Dockerfile.
The checks: imagick created an 8 by 8 image, checked its width and wrote it in ImageMagick's own MIFF format (PNG output also worked), and igbinary serialized a nested array and unserialized the same value. igbinary's own make test on the master build gave 152 passed, 0 failed, 16 skipped on both images. We did not run imagick's tests, a real application, the igbinary session serializer, or igbinary with APCu or Redis. We did not test NTS images, arm64, the Apache image, PIE or any other commit, and we ran each route once.
Both tools install whatever release an extension has published. So before you change FROM php:8.5-… to 8.6, check that each extension you install has a release that builds on PHP 8.6. If you need apcu or another extension whose latest release does not build, stay on 8.5 for now. If you need phpredis, stay on 8.5 or use the 6.4.0RC1 release candidate built as above. If you need imagick or igbinary, stay on 8.5 or build the master commit we pinned above, which is not a release. If your image needs only extensions we ran above (the seven in the Dockerfile step, plus mongodb, uuid, xhprof and event), the installer gets it onto 8.6 RC today.
Every 8.6 image is thread-safe
On 8.5 the default images are non-thread-safe (NTS), and ZTS has its own zts tags. On 8.6 every variant is ZTS and no separate zts variant is built (docker-library/php#1686). The 8.6-rc-zts tags still on Docker Hub stopped updating at RC2 on 27 September. Extensions you compile in the image with docker-php-ext-install or PIE are built to match.
A prebuilt .so that you copy into the image has to be built for PHP 8.6 and for ZTS. A ZTS build for PHP 8.5 is not enough: it has the wrong module API for 8.6 and does not load.
When PHP finds a copied extension but rejects it, it prints Warning: PHP Startup: <name>: Unable to initialize module and then the reason. (A file PHP cannot open at all, such as a wrong path or a file that is not a loadable library, gets Unable to load dynamic library instead.) An 8.5 build, NTS or ZTS, in an 8.6 image gives:
Module compiled with module API=20250925
PHP compiled with module API=20261112
These options need to matchWhen the module API matches but the thread mode differs, PHP names the build IDs instead. On PHP 8.5, which has images in both modes, an NTS build loaded into ZTS PHP gives:
Module compiled with build ID=API20250925,NTS
PHP compiled with build ID=API20250925,TS
These options need to matchWhen both differ, as with an 8.5 NTS build in an 8.6 image, PHP reports only the module API, so the message alone does not tell you the thread mode. To see what each side was built for, run these two lines in a shell inside your 8.6 container, with ./extension.so replaced by the path to your file:
php -i | grep 'PHP Extension Build'
grep -aoE 'API[0-9]+,N?TS' ./extension.soIn both 8.6.0 images we ran, the first line prints PHP Extension Build => API20261112,TS. A .so built for that PHP prints the same API20261112,TS on the second line. Different digits mean the file was built for another PHP version. That includes a release candidate: 8.6.0RC4 reports API20260924,TS. The same digits with NTS instead of TS mean it was built for non-thread-safe PHP. If the second line prints nothing, this check found no build ID in the file.
We ran the load tests with a one-function extension we wrote, using the PHP CLI on x86_64, and ran the two lines above in the official php:8.6.0-cli-trixie and php:8.6.0-fpm-alpine3.24 images. We did not test how FPM or Apache log the warning, arm64, Windows, debug builds, extensions loaded with zend_extension= such as Xdebug, or real vendor builds.
When it reaches your Dockerfile
FROM php:8.5-fpmand other tags with a minor version: nothing changes on 19 November. You meet the three changes when you edit the tag to8.6. In a GitHub code-search sample of public Dockerfiles that runpecl installon the official image, 93% of those build stages (2,275 of 2,438) pin a minor version.php:8-…,php:latest,php:fpm,php:alpineand other tags without a minor version: these are moving to 8.6.php:latesthas already moved: when we ran it at 15:48 UTC on 19 November 2026 it was PHP 8.6.0 andpeclwas not found. Your next rebuild after the move gets an image without pecl and mbstring. Where each of these tags points now: PHP Docker tags on 19 November 2026.- CI matrices that already test
8.6-rc: you can hit all three now.
On 19 November we re-ran the pecl, pear, mbstring and thread-safety checks on the final 8.6.0 images; the results match the release candidates (receipts). On 23 November we re-ran apcu, phpredis and Xdebug on the final images (results), and imagick and igbinary on 24 November. The other install-php-extensions results on this page are still from 8.6.0RC4.
Correction, 20 November 2026. The copyable ticket called PHP 8.6.0 due after it was released. It now gives the release date and the time we observed php:latest running 8.6.0. We removed the forecast that floating tags would move to 8.6 and linked to the tag table for other floating tags. The ticket points readers to php:8.5-… to stay on 8.5. The title now says “no built-in mbstring”.
Text for your ticket
Affected? Paste this into your team's work item. It ends with a link back to this page.
In the box: Ctrl+A (⌘A on a Mac), then copy. On a phone: press and hold, then Select All.
Receipts
The first runs were on our own host on 22 October 2026: one container per test, on these image digests. This was not independently reproduced.
| Image | Digest |
|---|---|
php:8.6.0RC4-cli-trixie | sha256:b0d0fead5c9acb61369f57eac767bb4912042e023a1bf5c1c05d9ad0aea43e3e |
php:8.6.0RC4-apache-trixie | sha256:4756f73d6161a33af0cd1e13e66b229a111555f711fef6fd8f1d8407c57d27cb |
php:8.6.0RC4-fpm-alpine3.24 | sha256:ce83570220c1af386187300ee5b05331747103fef53a242acc5c3ab05b25329c |
php:8.5.12-cli-trixie | sha256:595a7cbb1e0547336319f228c4dc991c2a199350ab12b1c8fda05f73abd06e6b |
php:8.5.12-apache-trixie | sha256:e25ab14ef2cfec3bab9dd66c6cf871691146f428fbd72241b1a2c38fcacf92f5 |
php:8.5.12-fpm-alpine3.24 | sha256:4943e6c8a08008605b470f6171d611a89384bac97188e4b0a7aefd3f793cd040 |
Tools: PIE 1.5.3, Composer 2.10.3, install-php-extensions at commit 611df5a7.
| Test | 8.5.12 (3 images) | 8.6.0RC4 (3 images) |
|---|---|---|
command -v pecl, command -v pear | found | not found, exit 127 |
pecl install apcu | exit 0 | pecl: not found, exit 127 |
php -r 'echo mb_strlen("é"), PHP_EOL;' | 1 | Call to undefined function mb_strlen(), exit 255 |
php -r 'echo PHP_ZTS;' | prints nothing (NTS) | 1 (ZTS) |
docker-php-ext-install mbstring, no extra packages | fails: oniguruma not found | fails: oniguruma not found |
libonig-dev (Alpine: oniguruma-dev), then docker-php-ext-install mbstring | builds | builds, mb_strlen prints 1 |
install-php-extensions apcu | installs | Unsupported PHP version: 8.6, then pickle: Extension 'mbstring' required but not loaded |
git and unzip installed, then pie install --no-interaction apcu/apcu | apcu 5.1.28 loaded | apcu 5.1.28 make fails |
composer update --dry-run, laravel/framework ^12.0 | resolves | resolves through symfony/ |
composer update --dry-run, symfony/console ^7.0 | resolves | resolves |
Follow-up later on 22 October, on cli-trixie only, one run each:
| Test | 8.5.12 | 8.6.0RC4 |
|---|---|---|
apcu 5.1.28 from pecl.php.net, phpize && ./configure && make | builds | too many arguments to function 'php_verror' |
| phpredis 6.3.0, the same build | builds | implicit declaration of function 'zval_is_true', and others |
pie install --no-interaction phpredis/phpredis | not run | phpredis 6.3.0 make fails |
libonig-dev, docker-php-ext-install mbstring, then install-php-extensions apcu and redis | not run | mbstring loads; pickle: cannot access protected method Composer\Util\RemoteFilesystem:, exit 255 |
The first test ran twice on each image with the same results. On Alpine, the pecl and PIE tests installed $PHPIZE_DEPS first. PIE warned on every image, 8.5.12 included, that libtoolize was missing.
Second run, 29 October 2026, after install-php-extensions added 8.6 support. Our own host again, x86_64, one fresh container per test, one run each, not independently reproduced. The same tags now point to newer image builds than on 22 October, so the digests differ:
| Image | Digest |
|---|---|
php:8.6.0RC4-cli-trixie | sha256:2ec2a3449aaf35a555e99c0464ed8aced0ae1afd6db6792acb204296f3100e26 |
php:8.6.0RC4-cli-alpine3.24 | sha256:c9c90988b028655d7601a8d780ab5e068abd1c5f430cc0ee642755b94dd46583 |
php:8.6.0RC4-fpm-alpine3.24 | sha256:afd7a0a4339102708322d2d4ecc93e0831d493e362b2493375826239fcf86efe |
php:8.5.12-cli-trixie | sha256:acaa95199b53a1d7c346dddc7bcfc367ef3bd21ab832bd178eac7f043ed5396c |
Tools: install-php-extensions 2.13.1 (sha256 3c3f3de26458405199f1f3a4c7130fdd2056daf596c05512badd769a77019b59), downloaded from its release page inside each container; PIE 1.5.3.
| Test | 8.5.12 (cli-trixie) | 8.6.0RC4 |
|---|---|---|
install-php-extensions gd intl pdo_mysql zip bcmath mbstring opcache | exit 0, all load | exit 0, all load, on all three images; mb_strlen prints 1 |
install-php-extensions mongodb | mongodb 2.5.5, exit 0 | mongodb 2.5.5, exit 0 (cli-trixie, cli-alpine3.24) |
install-php-extensions uuid, then xhprof, then event, each in its own container | not run | uuid 1.3.0, xhprof 2.3.10, event 3.1.6, each exit 0 (cli-trixie, cli-alpine3.24) |
install-php-extensions apcu | not run | apcu 5.1.28 make fails: too many arguments to function 'php_verror', exit 1 (cli-trixie) |
install-php-extensions redis | not run | phpredis 6.3.0 make fails: implicit declaration of function 'XtOffsetOf', exit 1 (cli-trixie) |
build packages with apt, then php pie.phar install mongodb/ | not run | mongodb 2.5.5 "enabled and loaded", exit 0 (cli-trixie) |
Unsupported PHP version and pickle appear in none of the 29 October logs. The apt packages for the PIE test were git unzip autoconf gcc g++ make pkg-config libssl-dev libsasl2-dev libicu-dev zlib1g-dev libsnappy-dev libzstd-dev.
Sources: the removal of pecl and pear and the mbstring change, docker-library/php#1654; the maintainer's "this is intentional and this time it's for keeps", docker-library/php#1682; the release date, the PHP 8.6 release schedule (RC5 on 5 November, GA on 19 November).
Third run, 19 November 2026, on the final 8.6.0 images, the day they were published. Our own host, x86_64, one fresh container per image, one run each, not independently reproduced:
| Image | Digest |
|---|---|
php:8.6.0-cli-trixie | sha256:76bbe6461bdc3d8678d504470bdf0955dcba2220c65325f6780b09c236aafe63 |
php:8.6.0-apache-trixie | sha256:f6e40ed4b495f4f674e7684c7c7110d0a85ab991387e4268a33ba21056cc36f7 |
php:8.6.0-fpm-alpine3.24 | sha256:6104da37c84c117cdb06b5c201b8aad3690fd8c8034bbea8e7d56abf40790219 |
| Test | 8.6.0 (3 images) |
|---|---|
php -v | PHP 8.6.0 (cli) (built: Nov 19 2026 …) (ZTS) |
command -v pecl, command -v pear | not found |
mb_strlen | undefined |
php -i, Thread Safety | enabled |
php:latest, run at 15:48 UTC the same day, printed PHP 8.6.0 and had no pecl. Docker Hub was still re-pushing tags that afternoon: the digests above are the ones we pulled at 15:52 UTC, and the amd64 image inside php:8.6.0-cli-trixie and php:latest is the same (sha256:4a3886030804210abed2caf65d521c43bce9b424010e15ebb8453231389e436f).
Fourth run, 23 November 2026, on the same php:8.6.0-cli-trixie and php:8.6.0-fpm-alpine3.24 digests as the third run, with php:8.5-cli (PHP 8.5.12, sha256:50956f094e90a716d43bea28087d447555ad80510e386ab8c9c10d8c70d781a9) as the control. Our own host, x86_64, one fresh container per image, one run each, not independently reproduced.
| Test | 8.6.0 (2 images) | 8.5.12 |
|---|---|---|
install-php-extensions xdebug/xdebug@3.6.0alpha1 | exit 0, Xdebug 3.6.0alpha1 loads | loads |
PECL redis-6.4.0RC1.tgz in /usr/src/php/ext/redis, then docker-php-ext-install redis | exit 0, redis 6.4.0RC1 loads, new Redis() works | same |
install-php-extensions redis-6.4.0RC1 | configure: Cannot find php_phpser_api.h | same error |
install-php-extensions krakjoe/apcu@v5.1.28 | make fails, exit 1: implicit declaration of function 'EMPTY_SWITCH_DEFAULT_CASE' (cli-trixie), passing argument 2 of 'php_verror' (fpm-alpine3.24) | loads |
install-php-extensions redis-6.3.0 | make fails, exit 1: implicit declaration of function 'XtOffsetOf' | not run |
Tools: install-php-extensions 2.13.2 (sha256 27fa8d80bd4e22feb9ddcadff1ca40c8f3e8ea942eb2dd8f446ed1afd2f2f0ab); install-php-extensions 2.13.3 (sha256 d7ecb2087962a272c1d9806069ff6095cd25bf6553d7452db2007db5fa11875f); redis-6.4.0RC1.tgz from pecl.php.net (sha256 876434dff29603c83e33cb69bbcfdcff1f7846d968a396436b6c026cc15fc492). The phpredis 6.4.0RC1 builds used the default build options.
Fifth run, 24 November 2026, on the same php:8.6.0-cli-trixie and php:8.6.0-fpm-alpine3.24 digests as the third run, with the thread-safe 8.5.12 images as the control: php:8.5.12-zts-trixie (sha256:2ffa2b7471a9826f8a28f722ff21f83bc560367c0135372d88697f6c0666b5eb) and php:8.5.12-zts-alpine (sha256:be4b957d7592ae323d1a42a37beb1ef54418d8268b7e61b1d32be47126707e2e). Our own host, x86_64, one fresh container per test, one run each, not independently reproduced.
| Test | 8.6.0 (2 images) | 8.5.12 ZTS |
|---|---|---|
PECL imagick-3.8.1.tgz in /usr/src/php/ext/imagick, then docker-php-ext-install imagick | make fails: implicit declaration of function 'XtOffsetOf' | loads, check passes (both images) |
PECL igbinary-3.2.17RC1.tgz, the same way | make fails: implicit declaration of function 'zval_dtor' | loads, check passes (both images) |
install-php-extensions imagick, install-php-extensions igbinary | downloads imagick 3.8.1 and igbinary 3.2.17RC1, then the same two errors, exit 1 | loads, check passes (trixie) |
Imagick master 55ed2e9f tarball, then docker-php-ext-install imagick | loads, check passes, version @PACKAGE_VERSION@ | same (trixie) |
igbinary master fe33bf9e tarball, then docker-php-ext-install igbinary | loads, check passes, version 3.2.18-dev; make test 152 passed, 0 failed, 16 skipped | same; make test 151 passed, 0 failed, 17 skipped (trixie) |
install-php-extensions , install-php-extensions | both load, checks pass; imagick reports 3.8.1 | same (trixie) |
| No extension installed (control for the checks) | check fails: extension not loaded (3 runs) | not run |
Tools: install-php-extensions 2.13.4 (sha256 2f9a863fcf606b8180893334724f6bd5cb1581fbbe168d433432334d250b3161). Master tarballs from codeload.github.com at Imagick 55ed2e9fda264395636a2e27e51f31673f5566ab and igbinary fe33bf9ec03e97e2290a090abc72326e6910f5c1. Packages installed first, in the same step: libmagickwand-dev (Debian, ImageMagick 7.1.1-43) and imagemagick-dev imagemagick $PHPIZE_DEPS (Alpine, ImageMagick 7.1.2-35) for imagick; $PHPIZE_DEPS for igbinary on Alpine. Checks: imagick creates an 8 by 8 image, checks its width and writes it as MIFF; igbinary round-trips a nested array with an object, a string with a NUL byte and a negative integer.
Changed on 24 November 2026: we ran imagick and igbinary on the final 8.6.0 images (cli-trixie and fpm-alpine3.24). Their latest releases, imagick 3.8.1 and igbinary 3.2.17RC1, do not compile on those images, with docker-php-ext-install or with install-php-extensions 2.13.4. Code from their master branches, at the commits named above, built, loaded and passed one functional check.
Changed on 23 November 2026: we re-ran apcu, phpredis and Xdebug on the final 8.6.0 images (cli-trixie and fpm-alpine3.24). Xdebug 3.6.0alpha1 now installs with install-php-extensions. phpredis 6.4.0RC1, a release candidate published on 23 November, builds and loads when you build it with the image's own docker-php-ext-install; install-php-extensions installs it from 2.13.3 on (2.13.2 cannot). apcu 5.1.28 and phpredis 6.3.0 still fail.
Changed on 23 November 2026: The thread-safety section said to get a vendor's ZTS build of a prebuilt .so. That was not enough: a ZTS build for PHP 8.5 also fails on 8.6, because the module API differs. The section now says to get a build for PHP 8.6 and ZTS, quotes both loader messages, and gives a check for the .so file itself.
Changed on 19 November 2026: PHP 8.6.0 was released. On the three final images we ran, pecl and pear are missing, mbstring is not built in and PHP is thread-safe (ZTS), as on the release candidates. The page now says so, and php:latest runs 8.6.0. The installer, apcu and phpredis results are still from 8.6.0RC4.
Changed on 30 October 2026: install-php-extensions added PHP 8.6 RC support on 28 October, so this page now shows what it installs. The 22 October version said the installer refused 8.6 and advised staying on 8.5. That advice now applies only if you need an extension whose latest release does not build on 8.6, such as apcu or phpredis. The 22 October results stay in the receipts.