Commit 3abeb0a
Build Linux ZTS turbo binaries for PHP 8.6+
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_01LcypAP4x58BCa8dzQm5UHQ1 parent 7002950 commit 3abeb0a
6 files changed
Lines changed: 216 additions & 91 deletions
File tree
- .github
- scripts
- turbo-build
- workflows
- src/Turbo
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
51 | | - | |
| 52 | + | |
52 | 53 | | |
53 | | - | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
12 | 35 | | |
13 | 36 | | |
14 | 37 | | |
| |||
17 | 40 | | |
18 | 41 | | |
19 | 42 | | |
| 43 | + | |
20 | 44 | | |
21 | 45 | | |
22 | 46 | | |
| |||
27 | 51 | | |
28 | 52 | | |
29 | 53 | | |
30 | | - | |
| 54 | + | |
| 55 | + | |
31 | 56 | | |
32 | 57 | | |
33 | 58 | | |
| |||
41 | 66 | | |
42 | 67 | | |
43 | 68 | | |
| 69 | + | |
44 | 70 | | |
0 commit comments