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
求高手解决。。。 展开
我几经修改了 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
求高手解决。。。 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询