Warning: phpinfo(): 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.
警告:phpinfo():依靠系统的时区设置是不安全的。 您需要*使用date.timezone设置或date_default_timezone_set()函数。 如果您使用任何这些方法,并且您仍然收到此警告,您很可能拼写时区标识符。 我们现在选择了时区“UTC”,但请设置date.timezone来选择您的时区。
即在php,ini中修改date,timezone参数设置为如:date.timezone=Asia/Chongqing
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】博客园社区专享云产品让利特惠,阿里云新客6.5折上折
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步