For the CLI PHP on login2, have a look at this post. For changing the PHP version that a particular sub-directory of ibiblio.org loads, we need to coordinate that change with you. I believe we already have RT # 50484 open dealing with related work, so let’s check in there to make sure we get you what you need.