Jump to content

Upgrade from 5.02 to 5.2.11 - Please help


Recommended Posts

Hello,

 

I'm looking to upgrade a working PHP installation (version 5.0.2) to the latest 5.2.11 and was wondering if anyone has done the same & what to expect (I'm running IIS 6).

 

I've run the new 5.2.11 setup and it breaks the site (no longer displays). If I copy the old PHP.ini file back into the PHP directory the site displays again but with some errors. If I copy the entire old PHP directory back it works as before.

 

Very simplistic overview I know, but any initial thoughts? Thanks so much in advance!!

Link to comment
https://forums.phpfreaks.com/topic/176082-upgrade-from-502-to-5211-please-help/
Share on other sites

You need to compare the old php.ini with the new 5.2.11 php.ini and account for every difference between the two. You likely have some custom settings and extensions setup in the old one.

 

If the 5.2.11 php.ini layout is similar to your old php.ini, you can use a program like Winmerge to easily find the differences - http://winmerge.org/  I actually use this method every time I upgrade to move my existing custom php.ini settings into the new php.ini

 

Edit: Caution, if register_globals is one of the settings that you currently have turned ON and your code needs it to be ON in order to work, please be advised that register_globals have been completely removed in php6 and you will need to correct your code at some point so that it is not dependent on register_globals.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.