点击登录
  • 欢迎访问无限星辰技术博客,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏无限星辰吧
  • 无限星辰的淘宝店铺已经开张了哦,传送门:http://

Drupla date.timezone 设置警告解决办法

LINUX服务器 crx349 1657次浏览 0个评论 扫描二维码

# 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 ‘America/Los_Angeles’ for ‘PDT/-7.0/DST’ instead in /Library/WebServer/Documents/drupal6/sites/default/modules/cite/cite.module on line 186.

# 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 ‘America/Los_Angeles’ for ‘PDT/-7.0/DST’ instead in /Library/WebServer/Documents/drupal6/sites/default/modules/cite/cite.module on line 192.

解决办法在php.ini中设置时区:

date.timezone=”Asia/Shanghai”


无限星辰 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明Drupla date.timezone 设置警告解决办法
喜欢 (0)
[]
分享 (0)

您必须 登录 才能发表评论!