安装时出现warning:date_default_timezone_get(): 什么原因?

安装程序时出现
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 'UTC' for '8.0/no DST' instead in F:\yolin_www\ecshop\install\includes\lib_installer.php on line 223
这个如何解决,求帮忙解决





这个问题 哪有那么复杂哦。。

找到php.ini搜索 date.timezone 前面的 分号去掉。date.timezone = "Asia/Shanghai" 就OK了。

必须的是。。。修改完后 重启 apache我估计 楼上就是没重启apache

你可能感兴趣的:(timezone)