Most composer invoked things utilize env php so we probably can't control them via $PHP_BIN.
We should make /usr/bin/php be some wrapper shell script that figures out the right PHP version to use based on env variables, and then passes arguments onwards. Or something.