Skip to content

Fix checking for phpize when --with-phpize-path option given#510

Open
asgrim wants to merge 1 commit intophp:1.4.xfrom
asgrim:use-phpize-path-if-specified-for-tool-check
Open

Fix checking for phpize when --with-phpize-path option given#510
asgrim wants to merge 1 commit intophp:1.4.xfrom
asgrim:use-phpize-path-if-specified-for-tool-check

Conversation

@asgrim
Copy link
Contributor

@asgrim asgrim commented Feb 12, 2026

In the new build tool check (#452) the phpize tool check doesn't factor in when someone passes --with-phpize-path param. This change is quite large, but necessary to move the PhpizePath|null into TargetPlatform. The difference in the original implementation is that the evaluation of PhpizePath is still "lazy" (so doesn't affect Windows, for instance).

And naturally, this change updates the \Php\Pie\SelfManage\BuildTools\PhpizeBuildToolFinder::check to look at the TargetPlatform to check additional places where phpize might be resolved to.

@asgrim asgrim added this to the 1.4.0 milestone Feb 12, 2026
@asgrim asgrim self-assigned this Feb 12, 2026
@asgrim asgrim added the bug Something isn't working label Feb 12, 2026
@asgrim asgrim force-pushed the use-phpize-path-if-specified-for-tool-check branch from 5dbfbc5 to 637a55d Compare February 12, 2026 13:55
@asgrim asgrim changed the title Rework PhpizePath to be passed to TargetPlatform Fix checking for phpize when --with-phpize-path option given Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant