Skip to content

PHP 8.6: xhprof for PHP_PROFILER, no SPX - #450

Merged
mistraloz merged 1 commit into
thecodingmachine:v5from
mistraloz:fix/php-8.6-profilers
Dec 5, 2026
Merged

mistraloz merged 1 commit into
thecodingmachine:v5from
mistraloz:fix/php-8.6-profilers

Conversation

@mistraloz

Copy link
Copy Markdown
Collaborator

#444 (PHP 8.6) and #446 (PHP_PROFILER) were merged separately: the 8.6 images have neither xhprof nor SPX, so the profiler tests fail and the build of v5 publishes no 8.6 image.

  • xhprof: sury packages it for PHP 8.6, extensions/8.6/xhprof links to core/xhprof like the other versions.
  • SPX: 0.4.22, the latest release, stops at compile time on PHP 8.6 (Only the following PHP versions are supported: 5.4 to 8.5). Only its unreleased v0.5 branch supports PHP 8.6. Like swoole, SPX is left out of the 8.6 images until a release; its test is skipped on 8.6, and the extensions page and the changelog say so. PHP_PROFILER=spx on 8.6 already says that the extension is not in the image.

Checked locally on amd64: the 8.6 slim and fat images of the 3 variants build, and the whole test suite passes (cli 62, apache 91, fpm 100 tests), including the 11 PHP_PROFILER tests.

PHP 8.6 and PHP_PROFILER were merged separately: the 8.6 images had neither xhprof
nor SPX, and the profiler tests failed. Sury packages xhprof for PHP 8.6. SPX
0.4.22 does not compile with PHP 8.6, only its unreleased v0.5 branch supports it:
like swoole, it is left out of the 8.6 images until a release.
@mistraloz
mistraloz merged commit ad68854 into thecodingmachine:v5 Dec 5, 2026
12 checks passed
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