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

Should cachetool handle purging opcache's "file cache"? #140

Closed
robolmos opened this issue Mar 20, 2020 · 1 comment
Closed

Should cachetool handle purging opcache's "file cache"? #140

robolmos opened this issue Mar 20, 2020 · 1 comment

Comments

@robolmos
Copy link

The issue seems to be that cachetool calls "opcache_reset()" but then opcache just reads the file again from the second level cache directory. Same situation when restarting php-fpm.

Should cachetool handle purging opcache's "file cache"?

I can't find any official docs for methods to best do that, so I suppose it's just deleting all the opcache .bin files on the filesystem in the "file_cache" directory.

Related config: opcache.file_cache

@gordalina
Copy link
Owner

Added in version 5.0.0. Check the changelog

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