Page 1 of 1
upgrade from php 4.3.11 to latest
Posted: Mon Sep 22, 2008 12:31 am
by masterkrang
Hi, some code I wrote for one of my clients does not work on his present version of php, which is 4.3.11. My question is, if I upgrade to the latest version of php (5 or greater), should I be concerned about other scripts on the server breaking? If so, which ones? Thanks.
Re: upgrade from php 4.3.11 to latest
Posted: Mon Sep 22, 2008 9:51 am
by Maugrim_The_Reaper
If you upgrade to PHP5, any PHP4 scripts are at risk of breaking depending on when they were written, and what features they utilise. I'd suggest running a test before making a complete move to isolate any problem applications. If you can list all the applications, many might have new versions which are PHP5 safe.
Re: upgrade from php 4.3.11 to latest
Posted: Mon Sep 22, 2008 3:56 pm
by masterkrang
hi, thanks for the response. i guess the next step would be to run tests... how would i do that?
i've always, in the past, updated and crossed my fingers that things didn't break, and they never did. this situation is different, however, business could stop, and there aren't enough developers to fix any problems quickly.
i can get a list of applications that are running, if that would be helpful.
is there a reference of known things that could break after an upgrade.
thanks.
Re: upgrade from php 4.3.11 to latest
Posted: Tue Sep 23, 2008 3:02 am
by jmut
http://usphp.com/manual/en/faq.migratio ... ion5.php45
As for the tests. You either should run automated tests that you have, which it seems you don't or do manual testing.
Best option
1. Setup test host that has
exact same settings as live host will be.
2. Copy application there and open log file where you'll write down exact procedure what you're doing.
3. Test & Fix
4. Test & Fix
5. Test & Fix
6. Transfer to new host