Warning: date_default_timezone_get(): 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in C:wwwu4v.cnsettings.php on line 121
看字面意思,就是时区设置不正确造成的。
说说怎么解决
方法1:
修改php.ini
设置date.timezone = "Asia/Shanghai"
重启环境
方法2:
在需要的PHP页面添加date_default_timezone_set("PRC");
方法3:
在需要的PHP页头加上ini_set('date.timezone','Asia/Shanghai');