Skip to main content

EasyApache 4 + Opcode Caching

Comments

4 comments

  • cPLevey
    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
  • hicom
    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=1
    0
  • hicom
    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
  • cPanelMichael
    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.