Zend Opcache in php.ini + W3TC
-
Hi there,
I’ve reach the maximum limit of file authorized on my server (260k files) for my website.
While asking my host, they told me that my cache was representing about 140k files !
I found that weird because I’m regularly purging my cache on W3TC.
After a little investigation, it turned out that the issue was coming from Zend Opcache and my root .opcache folder.
Now I’m wondering if this Zend Opcache is useful or if it could interfere with W3TC parameters.Zend Opcache is active through the php.ini instruction as follow :
memory_limit = 268435456;
post_max_size = 67108864;
safe_mode = off;
upload_max_filesize = 67108864;
zend_extension=opcache.so;
opcache.enable=1;opcache.memory_consumption=32;
opcache.interned_strings_buffer=8;
opcache.max_accelerated_files=3000;
opcache.revalidate_freq=180;
opcache.fast_shutdown=0;
opcache.enable_cli=0;
opcache.revalidate_path=0;
opcache.validate_timestamps=2;
opcache.max_file_size=0;
opcache.file_cache=mywebsiterootpath.com/.opcache;
opcache.file_cache_only=1;Here are my questions :
1- Is zend opcache useless or complementary with W3TC ?
2 – Should I deactivate Zend Opcache if I use W3TC ?
3 – If so, how ? I tried to remove php.ini in order to deactivate zend but my website shuttled down with a error 500. So I guess this is not the right way… how should I do ?Many thanks !
- The topic ‘Zend Opcache in php.ini + W3TC’ is closed to new replies.