Running PHP 5.2 and 5.3 on same apache server instance
I have a legacy app that only runs on PHP 5.2. I have other apps on PHP 5.3.
I use same apache instance with virtual hosting to run multiple sites including the one running legacy app with PHP 5.2.
Has anyone done this with their Linode server ?
I'd appreciate any help on links/docs or pointers on how to do this.
Regards
J.
2 Replies
However I've no idea if you can find packages for both version of php that will install along side each other, I imagine in most distros they will overwrite each other. You may have to compile yourself.
It's very easy to set up, and you can update both outside and inside the chroot jail just by using (twice, obviously) apt-get or aptitude. The downside is that it's kind of overkill, and you'll need a second IP to do it. The upside is that you can have different packages installed inside the chroot jail.