There is a use of "ExecutableFinder" but it doesn't use the appropriate php version.
Mediawiki will be deployed along Tuleap and they are going to use different versions of PHP (8.0 for Tuleap, 7.4 for MW). We leverage "remi repo" for that and the 2 php versions are deployed in parallel.
The one for MW should be /opt/remi/php74/root/usr/bin/php