今天安装 ECShop_V2.7.3_UTF8_release1106 时出现如下错误:

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" ,设置时区。

修改完以后重启web服务器即可。