PHP5.3 でタイムゾーンの設定に関する警告が出る

Snow Leopard の MacPorts でインストールした PHP が Version 5.3.0 となり、以下のような警告が出るようになった。

Warning: date() [function.date]: 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 /Users/hoge/public_html/hoge.php on line 10

php.ini にタイムゾーンを Asia/Tokyo として設定し、Apache2 を再起動すると警告が出なくなる。

$ sudo vi /opt/local/etc/php5/php.ini
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "Asia/Tokyo"
$ sudo /opt/local/apache2/bin/apachectl restart
«
»