先找到 php.ini
裡面會有以下的 code
[Date] ; Defines the default timezone used by the date functions ;date.timezone =
改成
[Date] ; Defines the default timezone used by the date functions date.timezone = Asia/Taipei