Lessons learned in migrating to PHP5?
Posted: Mon Jul 25, 2005 8:41 am
Has anyone here had success in migrating large legacy applications to PHP5? I'ld very much like to take advantage of the PHP5 features; my hoster can switch me to it at any time.
What's your recommended way to proceed?
From the development stand-point:
1) check out a new copy of my source from cvs
2) setup an alternate apache on a different local port
3) install php5, under custom name? (for command-line php scripts)
4) configure the alternate apache with php5
Thus I should have a standalone branch to play in, right?
How "pain-free" was your transition? I expect that most of the problems appear mid-transition? Ie, everything more or less works right away because of the general backward compatability, but things start failing as you find places that your object model wasn't as "good" as it should have been (ie perhaps a should have beeb private var was exposed, etc.
Any way of estimating the time to switch?
What's your recommended way to proceed?
From the development stand-point:
1) check out a new copy of my source from cvs
2) setup an alternate apache on a different local port
3) install php5, under custom name? (for command-line php scripts)
4) configure the alternate apache with php5
Thus I should have a standalone branch to play in, right?
How "pain-free" was your transition? I expect that most of the problems appear mid-transition? Ie, everything more or less works right away because of the general backward compatability, but things start failing as you find places that your object model wasn't as "good" as it should have been (ie perhaps a should have beeb private var was exposed, etc.
Any way of estimating the time to switch?