EasyApache 4 + Opcode Caching
Hi,
is EasyApache 4 + Mod_Ruid + PreFork supports ZendGuard OpCache ?
Every time we enable ea-php56-php-opcache, it does not install. CentOS 7 + cPanel 11.58 b26.
As in it doesn't show up in PHP.ini or phpinfo, as if it was never enabled. Thank you.
-
Hey @hicom, Package ea-php56-php-opcache is obsoleted by ea-php56-php-zendguard. If you try installing ea-php56-php-opcache, it should automatically install the zendguard RPM instead. You should also see the opcache module listed in the zenguard.ini file located here: [/opt/cpanel/ea-php56/root/etc/php.d]# grep opcache zendguard.ini zend_extension="/opt/cpanel/ea-php56/root/usr/lib64/php/modules/opcache.so"
Keep in mind, with EasyApache 4 modules are loaded from individual .ini files located in /opt/cpanel/ea-phpXX/root/etc/php.d/ Some great : [LIST]0 -
Thank you David. To enable opcache to work efficiently, do we include the OpCache config lines in zendguard.ini as such ? ; Enable Zend Guard Loader extension module zend_extension="/opt/cpanel/ea-php56/root/usr/lib64/php/modules/ZendGuardLoader.so" zend_extension="/opt/cpanel/ea-php56/root/usr/lib64/php/modules/opcache.so" opcache.memory_consumption=128 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 opcache.revalidate_freq=60 opcache.fast_shutdown=1 opcache.enable_cli=10 -
Ok, I figured it out. It turns out that Mod_Ruid2 while it installs and configures with OpCache/ZendGuard, the extension is useless for caching. Mod_Ruid2 does not offer caching capabilities. Any module other than Mod_Ruid2 has good compatibility and can protect from SymLink issues? Tamouh 0 -
Any module other than Mod_Ruid2 has good compatibility and can protect from SymLink issues?
There are a few potential alternatives. Discussion of the topic is found at: EasyApache4 symlink race protection Thanks!0
Please sign in to leave a comment.
Comments
4 comments