Skip to content

Add 8.6 "nts" variant and "zts" aliases for "cli" - #1722

Open
tianon wants to merge 1 commit into
docker-library:masterfrom
infosiftr:8.6-nts
Open

tianon wants to merge 1 commit into
docker-library:masterfrom
infosiftr:8.6-nts

Conversation

@tianon

@tianon tianon commented Nov 21, 2026

Copy link
Copy Markdown
Member

8.6 cli is ZTS-only, so add zts alias tags to it and a new nts variant (8.6 only) that builds the non-ZTS version again -- the nts pin lives in one place in versions.sh, and zts aliases are only emitted when a version has nts but no zts variant, so 8.7+ drops both naturally (with an easy single place to decide otherwise later).

The nts variant intentionally skips --enable-embed: it is meant to be minimal and quick to build, and the places embed is most useful ought to be using ZTS anyhow.

Also convert x | IN(...) to IN(x; ...) in the template and versions.sh while touching them.

Assisted-By: "claude my eyes right out"

See #1719 (comment)
Closes #1719
Closes #1721

8.6 `cli` is ZTS-only, so add `zts` alias tags to it and a new `nts` variant (8.6 only) that builds the non-ZTS version again -- the `nts` pin lives in one place in `versions.sh`, and `zts` aliases are only emitted when a version has `nts` but no `zts` variant, so 8.7+ drops both naturally (with an easy single place to decide otherwise later).

The `nts` variant intentionally skips `--enable-embed`: it is meant to be minimal and quick to build, and the places embed is most useful ought to be using ZTS anyhow.

Also convert `x | IN(...)` to `IN(x; ...)` in the template and `versions.sh` while touching them.

Assisted-By: "claude my eyes right out"
@tianon
tianon requested a review from yosifkit November 21, 2026 00:14
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.

Reconsider ZTS-only builds for 8.6 until upstream PHP has actually decided

2 participants