XAMPPの時間設定をするよね

XAMPPをWindows10に入れてみたのでまた1から設定しないといけないですね。
時計がヨーロッパのあたりの時刻になっちゃってるのでまずは時刻設定

[Date]
; Defines the default timezone used by the date functions
; <a href="http://php.net/date.timezone">http://php.net/date.timezone</a>
date.timezone = Europe/Berlin

[Date]
; Defines the default timezone used by the date functions
; <a href="http://php.net/date.timezone">http://php.net/date.timezone</a>
date.timezone = Asia/Tokyo

にして再起動してしまいましょう。
これで解決するはず。

MySQL, PHP, XAMPP

Posted by bistro