I'm setting up a local server to test configurations; it's a clean 14.04 LAMP server, as selected during OS install.
If I understand correctly, OPCache comes with PHP 5.5 (
php -v confirms this) but in a disabled state. I've followed the Internet's suggestions to enable it, however I'm receiving mixed messages about whether or not this has been successful.
zend_extension=/usr/lib/php5/20121212/opcache.so opcache.enable=1 opcache.enable_cli=1
php -i, after restarting the machine, is telling me
Opcode Caching => Disabled Optimization => Disabled Startup Failed => Opcode Caching is disabled for CLI opcache.enable => On => On opcache.enable_cli => Off => Off
i.e. it's apparently enabled, and simultaneously disabled.
Is enabling OPCache possible with the 14.04 repository PHP package, or do I need to compile PHP from source?