有图有真相
!!!!!
安装过程中,遇到了时区问题而不能继续,请求帮助解决!
为了便于搜索引擎收录,方便后人,我再把报错内容copy一份:
- Warning: date(): 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 /web/install/include/install_function.php on line 1153
- Fatal error: date(): Timezone database is corrupt - this should *never* happen! in /web/install/include/install_function.php on line 1153
复制代码
该错误信息在创建数据库表结构时出现,造成安装过程异常终止。
我已根据Google给出的信息,修改了php.ini中的时区设置
- [Date]
- ;date.timezone = "PRC"
- date.timezone = "Asia/Shanghai"
- ;date.default_latitude = 31.7667
- ;date.default_longitude = 35.2333
- ;date.sunrise_zenith = 90.583333;date.sunset_zenith = 90.583333
复制代码
操作系统的时区也设置成亚洲/上海,重启系统后,问题依旧!
请各位大神帮忙看看! |