sahithp

Member
Jun 13, 2011
15
1
53
I have Zend opcache compiled with PHP5.6.2 and enabled it in /usr/local/lib/php.ini file with following configuration
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.
 

sahithp

Member
Jun 13, 2011
15
1
53
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?
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
97
78
India
cPanel Access Level
Root Administrator
Twitter
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
```