Warning: strtotime() [function.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/usr/local/apache/htdocs/cacti/include/global_constants.php on line 165


php5.3 + cacti 出现 date_default_timezone_set() function 错误提示的解决方法 _required


解决方法:

# vim  /usr/local/apache/htdocs/cacti/include/global_constants.php

添加如下内容:

date_default_timezone_set('Asia/Chongqing');

重启httpd   刷新页面     问题解决.