Repository navigation
Update PHP to 8.2.36 (ZTS) - #172
Merged
en-tniepraschk merged 4 commits intoNov 20, 2026
Merged
Conversation
PHP 8.2.36 is the security release of 2026-11-19. The 3.21-stable aports recipe is still on 8.2.35, so build the requested version from the verified php.net tarball like release/8.4-zts does.
OskarStark
approved these changes
Nov 20, 2026
The arm64 CI build of 8.2.36 failed only on sapi/fpm/tests/gh8646.phpt, because FPM could not bind 127.0.0.1:9008 (Address in use) while the tests ran in parallel. The same test passed with 8.2.35.
The amd64 CI build of 8.2.36 aborted make test with "User defined signal 1". When FPM fails to start (port collision under the parallel run), sapi/fpm/tests/tester.inc getPid() returns 0, and gh8885-stderr-fd-reload-usr1.phpt then runs `kill -USR1 0`, which signals the whole process group.
sapi/fpm/tests/gh24046-stdio-pipe-double-close.phpt (new in this release) starts a background `sleep 3 &` that inherits FPM's listening socket. In CI the following FPM tests then failed with "Address in use" (gh8646), and a later test that signals FPM aborted make test with "User defined signal 1/2", because tester.inc getPid() returned 0 and it ran `kill -SIG 0`. All three failed 8.2.36 runs broke right after gh24046.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update the PHP ZTS build to 8.2.36, the security release of 2026-11-19. It fixes CVE-2026-115560, CVE-2026-126714, CVE-2026-127960, CVE-2026-128064, CVE-2026-128090, CVE-2026-129289, CVE-2026-129291, CVE-2026-129292, CVE-2026-129496, CVE-2026-129506, CVE-2026-129538, CVE-2026-15353.
The
3.21-stableaports recipe is still on 8.2.35, so build the requested version from the official php.net tarball instead. The tarball is checked against its published sha256, the same wayrelease/8.4-ztsandrelease/8.5-ztsalready do it:pkgveris overridden, andabuild checksumregenerates the sha512 from the verified file.PHP_VERSIONis now a global build arg shared by both stages.Validation
php-8.2.36.tar.xzmatches the sha256 that php.net publishes.3.21-stableaports patches forphp82, andfiles/patches/php-xml-expat-fallible-alloc.patch(ext/xml: Make Expat allocators fallible php/php-src#24516 is still open), apply cleanly to the 8.2.36 source (patch --dry-run).Please use the branch CI to build, test, and scan the image before merging.
Also disable
sapi/fpm/tests/gh24046-stdio-pipe-double-close.phpt, which is new in this release. It starts a backgroundsleep 3 &that inherits FPM's listening socket, so the port stays bound after the test. In CI, the next FPM tests then failed with "Address in use" (gh8646). A later test that signals FPM then abortedmake testwith "User defined signal 1/2", becausetester.incgetPid()returned 0 and it rankill -SIG 0. All three failed 8.2.36 runs broke right after this test.