Search code examples
phpopcode-cache

Opcache is Enabled, but Opcode Caching says Disabled?


I've attached a screenshot. Any ideas of what I'm missing? I've enabled it via php.ini, it shows in phpinfo as enabled, but says opcode caching is disabled. Using PHP 5.5.

PHP Info Image


Solution

  • I've found the answer to this on my own, but I want others to know as well if they run into the issue.

    For whatever reason, multiple .ini files were generated for opcache on the server box and they contained the same settings.

    I deleted one, re-enabled opcache, and now it's working perfectly.