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
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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.