サポート

タイムゾーンについて

はこね (2015/11/12 15:13)

設置URL : http://***.net/

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 the timezone 'UTC' for now, but please set date.timezone to select your timezone.

上記のような表記が出てしまい、先に進めません。
何が原因なのでしょうか…?
当サーバーの問題なのか…、記述を変更すれば直るのか…。

ccc (2015/11/12 18:09)

URL : http://cccabinet.jpn.org/

恐らくお使いのサーバーのPHPにタイムゾーンの設定がないかと思われます。
php.iniに

date.timezone = "Asia/Tokyo"

を追加してみてください。

返信

  • この記事に返信します。
  • 返信の際は、設置URL以外の項目は入力必須です。
投稿フォーム
名前
設置URL
本文(本文の装飾について
編集キー(投稿した記事を編集する際に使用します。)
投稿キー(スパム対策に、投稿キー を半角で入力してください。)