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

来源:互联网 发布:网络视频服务器 租赁 编辑:程序博客网 时间:2024/03/29 22:39
安装程序时出现
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
原创粉丝点击