zen-cart安装出现时区错误解决办法

有时候在安装zen-cart的时候出现时区错误,提示:

ERROR: date.timezone not set in php.ini. Please contact your hosting company to set the timezone in the server PHP configuration before continuing.

解决办法:

修改php.ini文件,改为:

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone ="Asia/BeiJing"

posted on 2014-04-19 18:50  断掌  阅读(204)  评论(0编辑  收藏  举报

导航