I seem to recall that there should be considerable performance improvement gained when one's server caches the opcode generated from a php file because it spares your server from having to recompile each PHP script every single time that script is executed. If I'm not mistaken, PHP offers apc and OPcache to accomplish this. Doing a quick search using yum, I see that I might install either. Can anyone help me figure out which to install? I'm not especially motivated (or compensated) enough to concoct some kind of benchmarking test. Any help would be much appreciated.
FYI, the yum packages listed:
===================================================================== N/S matched: opcache =====================================================================
php-pecl-zendopcache.x86_64 : The Zend OPcache
php56u-opcache.x86_64 : The Zend OPcache
======================================================================= N/S matched: apc =======================================================================
apcupsd-gui.x86_64 : GUI interface for apcupsd
php-pecl-apcu.x86_64 : APC User Cache
apcu-panel.noarch : APCu control panel
apcu-panel56u.noarch : APCu control panel
apcupsd.x86_64 : APC UPS Power Control Daemon for Linux
apcupsd-cgi.x86_64 : Web interface for apcupsd
fence-agents-apc.x86_64 : Fence agent for APC devices
fence-agents-apc-snmp.x86_64 : Fence agent for APC devices (SNMP)
php-pecl-apcu-devel.x86_64 : APCu developer files (header)
php56u-pecl-apcu.x86_64 : APC User Cache
php56u-pecl-apcu-debuginfo.x86_64 : Debug information for package php56u-pecl-apcu
php56u-pecl-apcu-devel.x86_64 : APCu developer files (header)
capstats.x86_64 : A command-line tool collecting packet statistics
perl-Mail-IMAPClient.noarch : An IMAP Client API