php opcache

WBOY
WBOYOriginal
2016-06-06 20:26:231498browse

php5.6自动有了opcache,但是开启后修改代码不会立即生效,这个怎么处理?

回复内容:

php5.6自动有了opcache,但是开启后修改代码不会立即生效,这个怎么处理?

需要确认是不是浏览器缓存或者其他缓存的问题,如果确实是OpCache的问题,可以参考下面这个链接

http://php.net/manual/zh/opcache.configuration.php#ini.opcache.revalidate-freq
解释的很详细。

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