Skip to content

tests: Allow overriding TEST_PHP_EXECUTABLE for FPM SAPI - #23087

Merged
arnaud-lb merged 1 commit into
php:masterfrom
lotharsm:additional-php-fpm-test-exe
Aug 7, 2026
Merged

tests: Allow overriding TEST_PHP_EXECUTABLE for FPM SAPI#23087
arnaud-lb merged 1 commit into
php:masterfrom
lotharsm:additional-php-fpm-test-exe

Conversation

@lotharsm

@lotharsm lotharsm commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

The test suite derives the path to php-fpm from TEST_PHP_EXECUTABLE. This fails on custom build directory layouts, leading to skipping all php-fpm related tests.

Users can provide TEST_PHP_FPM_EXECUTABLE for a custom binary path; if this is unset, we'll fall back to TEST_PHP_EXECUTABLE instead.

See gentoo/gentoo#46637 (comment) for reference.

The test suite derives the path to php-fpm from TEST_PHP_EXECUTABLE.
This fails on custom build directory layouts, leading to skipping all
php-fpm related tests.

Users can provide TEST_PHP_FPM_EXECUTABLE for a custom binary path; if
this is unset, we'll fall back to TEST_PHP_EXECUTABLE instead.
@lotharsm
lotharsm requested a review from bukka as a code owner August 6, 2026 12:49
@LamentXU123
LamentXU123 requested a review from arnaud-lb August 7, 2026 12:05
@arnaud-lb
arnaud-lb merged commit 453223b into php:master Aug 7, 2026
18 checks passed
@arnaud-lb

Copy link
Copy Markdown
Member

Thank you @lotharsm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants