1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【自分用メモ】PHP で時刻が正常に表示されないときの対処法

Posted at

手順

①php.ini ファイルに、date.timezone を追加
(日本の場合は以下の通り)

php.ini
date.timezone = "Asia/Tokyo"

②サーバーを再起動する

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?