Docker official images ship PHP 8.6 as ZTS-only: is this endorsed by the project?
| From: | ROX | Date: | Fri, 20 Nov 2026 21:21:38 +0000 |
| Subject: | Docker official images ship PHP 8.6 as ZTS-only: is this endorsed by the project? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-133153@lists.php.net to get a copy of this message | ||
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.