Skip to content

[Vulcan] Use matching PHP tools for bundled Statgrab builds - #37

Merged
iliaal merged 1 commit into
masterfrom
vulcan/match-zts-php-build-tools
Nov 23, 2026
Merged

iliaal merged 1 commit into
masterfrom
vulcan/match-zts-php-build-tools

Conversation

@iliaal

@iliaal iliaal commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Show how to select both tools from the target PHP when building the bundled extension. A matching phpize alone does not tell configure which php-config to use. The README now uses the same executable and configure flags as the Linux ZTS lane (.github/workflows/tests.yml:246–249) and explains how to substitute the installation prefix. The generic build remains intact.

Native verification: built PHP 8.4.27 ZTS debug/embed with ASan/UBSan, built bundled libstatgrab, and ran the documented phpize/configure commands with PHP 8.4.26 NTS and its php-config on PATH. The module loaded in the selected ZTS PHP, returned host/memory stats, and the bundled-static check confirmed no dynamic libstatgrab dependency. 34 PHPTs passed, one expected ASan memory-limit skip; 36 guard and four symbol tests passed. The local CLI build/test is not a FrankenPHP worker test.

Claim sweep: README quick start and bundled recipe are the only modified copies; system-lib and default-PHP recipes, workflow, metadata and changelog unchanged. Verified exact default 12 Tests including PHP 8.4 ZTS embed/ASan job 136854500378, plus separate advisory; the last workflow-changing ancestor's security run passed with identical inputs. cmark-gfm, command/flag comparison, whitespace, merge-tree and independent review passed.

CI passed on cfd5c66d5205fd413a66a81560f9911bdadb3a70: all 12 Tests jobs, including the Linux PHP 8.4 ZTS embed/ASan job (136932854561), and the Changelog guard. The separate PHP master advisory also passed.

From Vulcan.

@iliaal
iliaal merged commit ae96106 into master Nov 23, 2026
18 checks passed
@iliaal
iliaal deleted the vulcan/match-zts-php-build-tools branch November 23, 2026 00:22
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.

1 participant