自分のマシンにインストールしてるphpのバージョンを5.3.2に上げてみた。
早速、自作アプリを起動してみると
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 ‘9.0/no DST’ instead in ….. on line 384
なんだ?これは?
と言うことで php.ini の以下の部分を修正する。
[Date]
; …
; …
date.timezone = Asia/Tokyo
たったこれだけの事なのだが、新しいものに飛び付くと色んなことが起こるものである。



最近のコメント