Or just use a VM, and install what ever version of PHP you want, if not multiple versions.