OPCache not working in All domains
I have Zend opcache compiled with PHP5.6.2 and enabled it in /usr/local/lib/php.ini file with following configuration
[QUOTE]opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=0
opcache.validate_timestamps = 0
opcache.fast_shutdown=0
opcache.enable_cli=0
opcache.enable=1
When i checked it with one of my domains in my server using phpinfo();, There i can see Opcache is enabled and running. But when i checked the same with other domains, Opcache is showing as Disabled. How can i make opcache running in all domains. I never had this issue in the past. I wonder how this happened now? Need suggestions please.
When i checked it with one of my domains in my server using phpinfo();, There i can see Opcache is enabled and running. But when i checked the same with other domains, Opcache is showing as Disabled. How can i make opcache running in all domains. I never had this issue in the past. I wonder how this happened now? Need suggestions please.
-
After thorough search, i figured that Zend OPcache and Zend Guard can not be used simultaneously in the same PHP configuration in EA4. So i disabled both in my PHP5.6 EA4 configuration. Somehow now both Opcache and Zend Guard loader working for all my sites. Anyone know how this can happen? 0 -
Hi, When you update it via EA4, it stores the data in different location not, /usr/local/lib/php.ini, so there must be some customization on it that you already made.. Verbally, it is hard to find out how its working.. ``` Configuration File (php.ini) Path => /opt/cpanel/ea-php56/root/etc Loaded Configuration File => /opt/cpanel/ea-php56/root/etc/php.ini ``` 0 -
Hello @sahithp, Please see the following post for information on how to make changes to the OPCache PHP configuration: Thank you. 0
Please sign in to leave a comment.
Comments
3 comments