# Docker official images ship PHP 8.6 as ZTS-only: is this endorsed by the project?

- Thread: https://externals.io/message/133153
- Original archive: https://news-web.php.net/php.internals/133153
- Started by roxblnfk@gmail.com on 2026-11-20T21:21:38+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #133153 — roxblnfk@gmail.com — 2026-11-20T21:21:38+00:00

URL: https://externals.io/message/133153#133153

Hi internals,

The official Docker "php" images (maintained by docker-library) now
ship PHP 8.6 as ZTS-only, and there are no NTS variants for 8.6
anymore:
https://github.com/docker-library/php/pull/1686

The discussion is here:
https://github.com/docker-library/php/issues/1719
and a PR restoring NTS as the default is here:
https://github.com/docker-library/php/pull/1721

One of the image maintainers said that if PHP core developers disagree
with this change, he would consider a revert, but so far he only has
personal opinions to go on, not a position of the project. So I'd like
to ask, first of all the PHP 8.6 release managers (Daniel Scherzer,
Matteo Beccati, Joe Ferguson):

1. Does the project support the official Docker images shipping 8.6 as ZTS-only?
2. If so, is there a plan to let users know about it?

I'd also note that the pre-RFC "Deprecating NTS and making ZTS the
default build mode" (https://news-web.php.net/php.internals/131870)
was about the php-src default build mode and removing NTS in 9.0.
Downstream distributions shipping ZTS-only builds already in 8.6
wasn't discussed there. So I don't think the reaction to the pre-RFC
can be taken as a position on the Docker images.

---

## #133154 — Andrey Andreev — 2026-11-20T21:29:21+00:00

URL: https://externals.io/message/133153#133154 · In reply to: #133153

Hi,

Matteo already started a thread about this a few hours ago:
https://news-web.php.net/php.internals/133140

Cheers,
Andrey.

---

## #133155 — roxblnfk@gmail.com — 2026-11-20T21:32:10+00:00

URL: https://externals.io/message/133153#133155 · In reply to: #133153

Apologies, I missed that Matteo Beccati had already started a thread
on this: https://externals.io/message/133140
Let's continue the discussion there.

сб, 21 нояб. 2026 г. в 01:21, ROX <roxblnfk@gmail.com>:
>
> Hi internals,
>
> The official Docker "php" images (maintained by docker-library) now
> ship PHP 8.6 as ZTS-only, and there are no NTS variants for 8.6
> anymore:
> https://github.com/docker-library/php/pull/1686
>
> The discussion is here:
> https://github.com/docker-library/php/issues/1719
> and a PR restoring NTS as the default is here:
> https://github.com/docker-library/php/pull/1721
>
> One of the image maintainers said that if PHP core developers disagree
> with this change, he would consider a revert, but so far he only has
> personal opinions to go on, not a position of the project. So I'd like
> to ask, first of all the PHP 8.6 release managers (Daniel Scherzer,
> Matteo Beccati, Joe Ferguson):
>
> 1. Does the project support the official Docker images shipping 8.6 as ZTS-only?
> 2. If so, is there a plan to let users know about it?
>
> I'd also note that the pre-RFC "Deprecating NTS and making ZTS the
> default build mode" (https://news-web.php.net/php.internals/131870)
> was about the php-src default build mode and removing NTS in 9.0.
> Downstream distributions shipping ZTS-only builds already in 8.6
> wasn't discussed there. So I don't think the reaction to the pre-RFC
> can be taken as a position on the Docker images.
