You can have more than one Tanstaafl <tansta...@libertytrek.org> wrote:
> > On 02/01/2014 14:46, Tanstaafl wrote: > >> Hi all, > >> > >> I have a VM running in the cloud that has an old web/php app (10+ years > >> old, believe it or not), that still runs fine on apache 2.2.25, but I > >> pinned php to 5.3 some time ago. > >> > >> Does anyone see any big potential gotchas (major changes) with php 5.4, > >> or even 5.5, if I were to upgrade it? > > > Impossible to say without seeing your php code. Potentially there are > > many changes. > > > > You'd be better off doing the heavy lifting yourself first: > > > > 1. read all the changelogs > > 2. run it in a staging vm with php5.5 and see what happens > > Actually, I was just thinking of doing #2 on the dev server (no dev > going on, but I had this set up some time ago when we moved the > production server to linode, so now at least I can test things without > breaking the production system), and if it breaks, just downgrade back > to 5.3... > > That assumes, of course... > > Is php difficult to downgrade after an upgrade? You can have more than one version of php at a time, now. See the portage news items for details. You will need PHP_TARGETS variable to decide which ones you want to work with. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici cov...@ccs.covici.com