Shouldn't `php` be equivalent to `which php`? One will be fully qualified but I don't think that matters. Both of them will just search the current $PATH