の タイムゾーン timezone の設定 メモ

こんなメッセージが出たら

PHP Warning:  strftime(): It is not safe to rely on the system's timezone settin
gs. You are *required* to use the date.timezone setting or the date_default_time
zone_set() function. In case you used any of those methods and you are still get
ting this warning, you most likely misspelled the timezone identifier. We select
ed 'Asia/Tokyo' for 'JST/9.0/no DST' instead in /home/ron/app/turboLoader/lib/Lo
g/file.php on line 294

こうすると出なくなる

# vi /etc/php.ini
date.timezone = Asia/Tokyo