Home > Backend Development > PHP Tutorial > yii中时间分区问题无法解决

yii中时间分区问题无法解决

WBOY
Release: 2016-06-06 20:47:32
Original
1063 people have browsed it

yii框架中出现
Use of undefined constant PRC - assumed 'PRC'

环境

wamp PHP5.3.8

按照资料:php.ini 已设置 date.timezone = Asia/Chongqing

yii的配置文件中也增加了 'timeZone'=>'Asia/Chongqing',

回复内容:

yii框架中出现
Use of undefined constant PRC - assumed 'PRC'

环境

wamp PHP5.3.8

按照资料:php.ini 已设置 date.timezone = Asia/Chongqing

yii的配置文件中也增加了 'timeZone'=>'Asia/Chongqing',

尝试换成 上海时间试下

直接修改wamp目录下面的php.ini配置文件

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template