2161浏览量

Ecshop安装过程默认时区问题解决

来源: 时间:2014-01-04

默认时区问题: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 D:Xwwwecshopinstallincludeslib_installer.php on line 225

解决:方法1,将php.ini里是date.timezone前的";"去掉,改成:date.timezone = PRC;

方法2,在页头使用 ini_set('date.timezone','Asia/Shanghai');

方法3,在页头使用date_default_timezone_set()设置 date_default_timezone_set('PRC'); //东八时区 echo date('Y-m-d H:i:s');

联系我们

一次需求提交或许正是成就一个出色产品的开始。
欢迎填写表格或发送合作邮件至: qczsky@126.com

大理青橙科技

电话:13988578755 13988578755

邮箱:qczsky@126.com

地址:大理市下关龙都春天10层

如果您无法识别验证码,请点图片更换