解决php的It is not safe to rely on the system’s timezone settings的问题
2015-11-18 15:23
861 查看
访问网站提示:
date(): 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 ‘Asia/Chongqing’ for ‘CST/8.0/no DST’ instead
解决:
修改php.ini
添加:date.timezone = "Asia/Shanghai"
date(): 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 ‘Asia/Chongqing’ for ‘CST/8.0/no DST’ instead
解决:
修改php.ini
添加:date.timezone = "Asia/Shanghai"
相关文章推荐
- 判断浏览器对css和html的支持
- jquery table 操作
- JScrollPane控件中添加其他控件的问题&&JScrollPane设置滚动条&&调整滚动速度
- JS中设置backgroun-position不成功的问题
- HTML与CSS入门——第七章 使用表格显示信息
- HTML学习4:常用标签之框架标签
- Head First HTML CSS XHTML笔记
- js中使用jstl中得到的值
- JSTL详解
- 共享日常收集JS正则表达式(JavaScript regular expression)
- flexigrid使用记录
- js动态绑定事件
- JavaScript中的this
- js删除数组中某一项或几项的几种方法
- HTML meta refresh 刷新与跳转(重定向)页面
- 十五个常用的jquery代码段
- 无缝滚动scrollLeft
- extjs store中数据转换成json
- jQuery简介及语法
- JavaScript ~~~~~ 正则匹配