解决php的It is not safe to rely on the system’s timezone settings的问题
2013-08-23 10:59
901 查看
遇到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’ insteadstrtotime(): 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.timezone = "Asia/Shanghai"
相关文章推荐
- 解决php的It is not safe to rely on the system’s timezone settings的问题
- 解决php的It is not safe to rely on the system’s timezone settings的问题
- 解决php的“It is not safe to rely on the system’s timezone settings”问题
- 解决php的It is not safe to rely on the system’s timezone settings的问题
- 解决php的“It is not safe to rely on the system’s timezone settings”问题
- 解决php的“It is not safe to rely on the system’s timezone settings”问题
- 解决php的It is not safe to rely on the system’s timezone settings的问题
- 解决php的It is not safe to rely on the system’s timezone settings的问题
- 解决php的It is not safe to rely on the system’s timezone settings的问题
- 解决php的“It is not safe to rely on the system’s timezone settings”问题
- home 解决php的“It is not safe to rely on the system’s timezone settings”问题
- 【Phpadmin】解决phpadmin的“It is not safe to rely on the system’s timezone settings”问题
- PHP 日期问题 PHP Warning: date(): It is not safe to rely on the system’s timezone settings
- PHP Warning: strtotime() [function.strtotime]: It is not safe to rely on the system’s timezone settings. 解决方法:
- 关于php中Warning: date(): It is not safe to rely on the system's timezone settings.解决
- It is not safe to rely on the system's timezone settings. 的PHP问题处理
- php5.3的It is not safe to rely on the system’s timezone settings的问题的解决方案
- PHP Warning: phpinfo(): It is not safe to rely on the system's timezone settings
- PHP Warning: phpinfo(): It is not safe to rely on the system\'s timezone settings
- 解决PHP Warning: strftime(): It is not safe to rely on the system's timezone set