There are currently no options available to allow for the installation and use of multiple versions of PHP 5. However, there is an active feature request open for this at:
By default, there is no option to support multiple 5.X at a time. But there are 3 work arounds as far I know ( if you don't know how to build multiple PHPs manually ).