If you’ve just upgraded to PHP 5.3, your scripts will probably generate a bunch of timezone errors.
Obviously, the solution is to use the
date_default_timezone_set() function, but that means you need to change scripts that ran perfectly well and warning-free previously.
There’s another approach. You can set the default time zone in PHP’s configuration file so that it won’t bother you again (at least on your server). To do so, fine the date.timezone setting in
php.ini and change it thusly:
Now the warnings will be gone.