Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启用Opcache带来的问题 #57

Closed
imlinfly opened this issue Aug 20, 2022 · 1 comment
Closed

启用Opcache带来的问题 #57

imlinfly opened this issue Aug 20, 2022 · 1 comment

Comments

@imlinfly
Copy link

imlinfly commented Aug 20, 2022

如果启用了opcache插件,后台保存配置时, 配置文件因为被opcache缓存无法实时生效。建议在cache_write方法写入缓存时清除掉opcache缓存。

ZXT@0(P${9GV8G60GJRLR

// 清除Opcache缓存
if (function_exists('opcache_reset')) {
opcache_reset();
}

@icret
Copy link
Owner

icret commented Aug 20, 2022

收到~

@icret icret closed this as completed Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants