2015年02月01日
このエントリーをはてなブックマークに追加
エラーログが出力される
[Thu XXX XX XX:22:26 2015] [error] [client ] PHP Warning: 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 /XXX

php.ini で timezone を設定しました。

phpinfo() をコマンドラインから実行したい
# php -i
でOKでした。

php -r 'phpinfo();' もあるらしいのですが、パイプできなかった・・。


stock_value at 10:02│Comments(0)TrackBack(0)技術:2015年 

トラックバックURL

この記事にコメントする

名前:
URL:
  情報を記憶: 評価: 顔