I'm actually using PHP 5.3 on all my projects. But for all the reasons you know, I want to update to PHP 5.4 (or 5.5).
We're also going to migrate on AWS EC2 soon, on a "normal" Linux, Debian Wheezy for example.
But the problem is that we've got some old projects we can't migrate to PHP 5.3 for some reasons, and we can't remove them either for some other reasons.
So I was wondering what would be the best way to isolate those projects on our AWS EC2 instance, to use multiple versions of PHP/Apache.
I was thinking about using Docker, so we can easily install an other PHP/Apache than on the main system. Plus knowing that it's kind of a VM sounds good, so it won't have any impact on the main "server".
Is it the best solution ?
EDIT : Also, we can't afford another EC2 instance for some cost reasons