镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

remove zts, instead all images are always built as zts (8.6+) - #1686

Merged
yosifkit merged 1 commit into
docker-library:masterfrom
henderkes:master
Sep 29, 2026
Merged

yosifkit merged 1 commit into
docker-library:masterfrom
henderkes:master

Conversation

@henderkes

@henderkes henderkes commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

@tianon tianon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't love the raw 80600 values, but they're plenty clear enough and not worth a round-trip over 👍

@yosifkit
yosifkit merged commit 2e430cd into docker-library:master Sep 29, 2026
68 checks passed
tianon pushed a commit to docker-library/official-images that referenced this pull request Sep 30, 2026
Changes:

- docker-library/php@2e430cd1: remove zts, instead all images are always built as zts (8.6+) (docker-library/php#1686)

Co-authored-by: Docker Library Bot <github+dockerlibrarybot@infosiftr.com>
zonuexe pushed a commit to zonuexe/phpstan-src that referenced this pull request Oct 3, 2026
The official Docker images build every PHP 8.6+ variant thread-safe, cli
and alpine included (docker-library/php#1686), and no NTS 8.6 image is
published any more. The NTS binaries refuse to load there ("undefined
symbol: executor_globals"), which failed the 8.6 turbo-docker-run legs.
Distros, ppa:ondrej/php, sury, Remi and setup-php keep shipping an NTS CLI
(php-src 8.6 still defaults to NTS), so 8.6+ needs both variants.

- turbo-build image gnu-php8.6-zts: build-php.sh builds the pinned
  tarball thread-safe when PHP_ZTS=1; the pin moved into the script so
  the glibc image and the musl legs build the same release
- turbo-compile gains linux-gnu-x86_64/arm64 and linux-musl-x86_64 8.6
  ZTS legs, turbo-compile-musl-arm64 a linux-musl-arm64 one; Alpine
  packages no thread-safe PHP, so those build the tarball in alpine:3.24
  (.github/scripts/install-alpine-php.sh, shared by the musl legs)
- turbo-docker-run loads the -zts binaries into the 8.6 images and gains
  a php:8.6-rc-cli-alpine leg for the musl one
- TURBO_RETIRED_BINARIES only retires the 8.3-8.5 Linux ZTS binaries

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LcypAP4x58BCa8dzQm5UHQ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[PHP 8.6] switch the default from NTS to ZTS [RFC] enable thread safety (zts) for apache images; drop zts images

3 participants