Jump to content

Recommended Posts

Hi Everyone,

 

I wasn't sure which categoriy I should post this topic as I am not even sure of where the issue is.

 

At  , the programmer has went on holiday and I end up assigned to fix some issue with the site as I have some knolwedge of PHP. After I have looked at the site, I can see the programmer has used PHP, IIS as a service. However, the issue is that they have upgraded the server from IIS5, Windows 2000 to II6 and WIndows 2003. Once they have upgraded it, the site doesn't show all the data.

 

Initially, I thought there is a problem with the DB as most of the data from the db it doesnt show. However, I checked the db and it is working perfectly fine. I then noticed that everything doesn't work in the site which is related to the db that is after I login but before I login I can see the data from the db. After some investigation, I guess I reached to the conclusion that the issue is with the session and that is why I dont see the data.

 

The code is the same and it was working perfectly fine with IIS5, WIndows 2000 but once i upgraded to IIS6 WIndows 2003 I am getting this issue. Any idea, suggestion?

 

I approciate your coproation with this?

Link to comment
https://forums.phpfreaks.com/topic/206747-php-iis6-and-windows-2003-issue/
Share on other sites

Problems with php code breaking due to upgrades are usually due to php.ini configuration differences and php code that is relying on outdated php functions and non-recommended php.ini settings.

 

You did not state if the php version was changed, however, there are very few incompatible differences when going up to a higher php version.

 

If you have the previous php.ini, I would use a program like Winmerge ( http://winmerge.org/ ) to check for differences with the current php.ini. I would also check using a phpinfo(); statement that the php.ini that is actually being used (the Loaded Configuration File value) is the one that you think it is.

 

Setting error_reporting to E_ALL and display_errors to ON would also likely point out anything like session errors (perhaps the session.save_path no longer points to a valid folder or one with the correct permissions.)

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.