+ -
当前位置:首页 → 问答吧 → 在线等,apache+cacti 无法显示,nagios都可以正常

在线等,apache+cacti 无法显示,nagios都可以正常

时间:2011-07-20

来源:互联网

在apache下配置cacti,mysql,snmp,rrdtools,php都已经装了,nagios我都正常使用。但输入http://192.168.15.65/install/index.php 时显示,不知道问题出在那里。cacti的文件,我是直接拷贝到/usr/local/apache/htdocs/ 下的。

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/apache2/htdocs/include/global_constants.php on line 154

Warning: date() [function.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 in /usr/local/apache2/htdocs/include/global_constants.php on line 154

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/apache2/htdocs/include/global_constants.php on line 155

Warning: date() [function.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 in /usr/local/apache2/htdocs/include/global_constants.php on line 155

作者: BEAUTYPP   发布时间: 2011-07-20

HELP ME,自己顶一下。

作者: BEAUTYPP   发布时间: 2011-07-20

在php.ini里设置date.timezone=PRC 重启apache 然后再试试

作者: steptodream   发布时间: 2011-07-20

我试过了,还是不行阿。用的是php5.3.6 我把php.ini-production copy到/usr/local/php5/lib/php.ini 不知道路径对不对?

作者: BEAUTYPP   发布时间: 2011-07-20

我在 页投加入 ini_set('date.timezone','Asia/Shanghai'); 后错误没有了,页面就显示白纸一张,这是为什么?

作者: BEAUTYPP   发布时间: 2011-07-20

相关阅读 更多