Php5 migration
Posted: Wed Mar 05, 2008 5:41 am
My host provider has just decided to migrate to php5 from 4 on various servers.
An effect of this has been for several of my sites to stop working properly. Various issues are:
Session folder path could not be found and access was denied to write to the folder. (rectified by host)
$HTTP_POST_VARS stopped working causing me to go through it site and replace it with $_POST there was no notification that this would happen!
Checking variables with empty i.e. if(empty($var)) seems not to work as desired now.
Also SESSION variables are not being created or not being registered to be displayed on redirect pages.
Eveything on the sites was working correctly before migration.
Can anyone make any suggestions as to what the hosts have to implement to correct this? (whether they will is another matter!)
Also is there anything else I need to consider over and above the documentation available at php.net?
Any help much appreciated.
Cheers
An effect of this has been for several of my sites to stop working properly. Various issues are:
Session folder path could not be found and access was denied to write to the folder. (rectified by host)
$HTTP_POST_VARS stopped working causing me to go through it site and replace it with $_POST there was no notification that this would happen!
Checking variables with empty i.e. if(empty($var)) seems not to work as desired now.
Also SESSION variables are not being created or not being registered to be displayed on redirect pages.
Eveything on the sites was working correctly before migration.
Can anyone make any suggestions as to what the hosts have to implement to correct this? (whether they will is another matter!)
Also is there anything else I need to consider over and above the documentation available at php.net?
Any help much appreciated.
Cheers