MDLSITE-2885 Specify the exact php executable to use.

In sites with multiple PHP versions installed, composer
may end picking the incorrect executable. Instead of
tricking it with PATH, we wet the correct executable explicitly.