Home  >  Article  >  Backend Development  >  【ThinkPHP】已开启DB_FIELDS_ON,但是字段没缓存!Runtime/Data目录是空的

【ThinkPHP】已开启DB_FIELDS_ON,但是字段没缓存!Runtime/Data目录是空的

WBOY
WBOYOriginal
2016-06-13 11:57:401285browse

【ThinkPHP】已开启DB_FIELDS_ON,但是字段没有缓存!Runtime/Data目录是空的!
版本:ThinkPHP 3.1.3
问题:已开启表字段缓存 DB_FIELDS_ON => TRUE,但是 Runtime/Data下是空的,每次M() 或者D() 还是在 SHOW COLUMNS  FROM... (default7#zbphp.com)


这个是如何解决。

------解决方案--------------------
看看手册,就知道啦

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