[_] UPGRADE NOTES - PHP 5.1
Richard Davey
rich at corephp.co.uk
Tue Apr 3 15:08:36 BST 2007
Dan Course wrote: > What fun we've had this week. The upgrade to PHP has included a change to > the date() function and how it picks up what locale you have. So if you > don't have a few certain fallbacks it will cause an Strict error... > > So add into your php.ini, or whatever timezone you are. > > date.timezone = Europe/London > > For us it broke our table of system errors, and the site died... w00t. > > In conclusion, is it possible to be kept updated of the changes ( > http://www.php.net/README_UPGRADE_51.php) etc... by email or widget? I hate to say it, but if you'd done a simple phpinfo() once 5.1 was installed, and checked it, it would have given you all the info you require re: the date() change, plus the solution for it, right on the info page. Or of course you could have read the upgrade notes before installing? :) Cheers, Rich -- Zend Certified Engineer http://www.corephp.co.uk "Never trust a computer you can't throw out of a window"