centos下nginx+php php配置问题(高分悬赏)

php测试页报错Warning:phpinfo()[function.phpinfo]:Itisnotsafetorelyonthesystem'stimezoneset... php测试页 报错Warning: phpinfo() [function.phpinfo]: 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 /wwwroot/html/phpinfo.php on line 2
我几经修改了 php.ini 和/etc/sysconfig/clock 中的时间,但是还是报错

我在上面的环境下配置了cacti 也报错
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 /wwwroot/html/cacti/include/global_constants.php on line 154

求高手解决。。。
展开
 我来答
zhangjiwa123
2011-08-03
知道答主
回答量:40
采纳率:0%
帮助的人:0
展开全部
重启一下你所用的软件试试
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式