date() [function.date]: It is not safe to rely on the system’s timezone settings. - 全栈笔记

date() [function.date]: It is not safe to rely on the system’s timezone settings.

任亦伟 默认分类 2015-01-23 34 次浏览 没有评论

解决办法,在php.ini里加上

date.timezone = “Asia/Shanghai”

发表评论

回顶部