upgrade from php 4.3.11 to latest
Moderator: General Moderators
-
masterkrang
- Forum Newbie
- Posts: 10
- Joined: Wed Jan 23, 2008 6:45 pm
upgrade from php 4.3.11 to latest
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.
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
Re: upgrade from php 4.3.11 to latest
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.
-
masterkrang
- Forum Newbie
- Posts: 10
- Joined: Wed Jan 23, 2008 6:45 pm
Re: upgrade from php 4.3.11 to latest
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.
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
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
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