【发布时间】:2018-03-30 10:07:56
【问题描述】:
在服务器上,我最近从 easyapache 3 迁移到了 easyapache 4,同时我将 PHP 更新到了 5.6。
在这个动作之后,我注意到 OPCache 在这些设置下每 1 秒重新启动一次
consistency checks 0
dups fix false
enable true
enable cli true
enable file override false
error log no value
fast shutdown true
force restart timeout 180
inherited hack true
interned strings buffer 64
load comments true
log verbosity level 1
max accelerated files 40000
max file size 0
max wasted percentage 0.4
memory consumption 536870912
optimization level 2147467263
preferred memory model no value
protect memory false
revalidate freq 60
revalidate path true
save comments true
use cwd true
validate permission true
validate root false
validate timestamps false
有人知道为什么要这样做吗?
【问题讨论】: