“It is not safe to rely on the system's timezone settings”

前端 未结 2 835
傲寒
傲寒 2021-02-15 13:14

I have a script that I completed a week ago, without any problem or bug. Today, I tested it again and I received these messages:

Strict Standards: date()

2条回答
  •  野性不改
    2021-02-15 13:30

    In php.ini, ; comments out a line, so ;date.timezone = "Europe/Lisbon" does nothing. Uncomment that line by removing that preceding ; and restart Apache.

提交回复
热议问题