脚本宝典收集整理的这篇文章主要介绍了深入解析PHP 5.3.x 的strtotime() 时区设定 警告信息修复,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
@L_126_0@:
strtotime(): 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 in /VAR/www/cacti/index.PHP
查了一些资料,说是PHP版本太高,在新版本中必须指定timezone之类的。
以上是脚本宝典为你收集整理的深入解析PHP 5.3.x 的strtotime() 时区设定 警告信息修复全部内容,希望文章能够帮你解决深入解析PHP 5.3.x 的strtotime() 时区设定 警告信息修复所遇到的问题。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。