It would be interesting to have a symlink in your path that goes sends “php” to the specific version you want, and create a few bash aliases that switch the symlink… rvm-ish!