差别
这里会显示出您选择的修订版和当前版本之间的差别。
blog:archives:2816 [2018/02/27 19:45] – 外部编辑 127.0.0.1 | blog:archives:2816 [2019/09/14 18:30] (当前版本) – 管理员 | ||
---|---|---|---|
行 1: | 行 1: | ||
- | 111 | + | ====== 解决php页面的时间问题 ====== |
+ | 昨天更新了php.ini文件后(为了增加wordpress上传上限) | ||
- | ~~DISCUSSION~ | + | 刚才发现进入麦酒之誓的主页出现了一串“It is not safe to rely on the system’s timezone settings……”的字样 |
+ | |||
+ | 搜索了一下,在php.ini文件里加入以下内容,解决。 | ||
+ | |||
+ | 参考来源:https:// | ||
+ | |||
+ | < | ||
+ | [Date] | ||
+ | ; Defines the default timezone used by the date functions | ||
+ | ; http:// | ||
+ | date.timezone = “Asia/ | ||
+ | </ | ||
+ | |||
+ | {{tag> | ||
+ | 备忘录 | ||
+ | php | ||
+ | }} | ||
+ | |||
+ | ~~DISCUSSION~~ |