-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Delete OpCode Cache #80
Comments
|
This is what we should run: // Zend OPcache
if (function_exists('opcache_reset')) {
opcache_reset();
}
// APC
if (function_exists('apc_clear_cache') && !ini_get('apc.stat')) {
apc_clear_cache();
} |
|
The code is taken from the Live Update client. |
|
FYI this must also be done in the install tool… |
|
Also, regarding the manager, this should be done in the web process, not via command line :) I know it might be obvious but leaving this here for reference. |
|
Implemented in the install tool in contao/installation-bundle@68293bf. |
|
Please note my adjusted comment above. I have removed all caches that are no longer maintained or not compatible with PHP 5.6 (let alone PHP 7). |
The manager must run
opcache_reset()ApiError?The text was updated successfully, but these errors were encountered: