Home  >  Article  >  Backend Development  >  CI部署到腾讯云里,报错

CI部署到腾讯云里,报错

WBOY
WBOYOriginal
2016-06-06 20:10:361072browse

CI部署到腾讯云里,报错

CI部署到腾讯云里,报错

回复内容:

CI部署到腾讯云里,报错

CI部署到腾讯云里,报错

一个是没设置时区,一个你没装php的mysqli扩展吧

使用pdo链接数据库

设置时区,配置到config.php底部即可,看你的报错信息啊时区问题

index.php顶部加一句date_default_timezone_set('PRC');

在config 文件设置时区。确定你的环境是否开启了mysqli 或者pdo 扩展

Statement:
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