date系関数でthe system's timezone settings云々のワーニング

開発環境でPHPのバージョンを上げたあと、date関数を使うとワーニングが出るようになりました。

PHP5.1.0?以降でデフォルトタイムゾーンの設定が必須になるせいらしいです。
サーバ側に設定があれば出ないようですが、
ソースレベルで設定して解消。

/* TimeZone */
date_default_timezone_set('Asia/Tokyo');

以下、ワーンニング文章と細かい点。


Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Tokyo' for 'JST/9.0/no DST' instead in /var/www/CAKEPHP/cake/libs/cache.php on line 429


PHPバージョンアップすぐあとにはでなかったのは、apacheの再起動か何かの影響と思われます・・・