Smedley Posted September 30, 2009 Share Posted September 30, 2009 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!! Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted September 30, 2009 Share Posted September 30, 2009 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.