Opcache Enabled Observation

This observation checks if the Opcache PHP extension is enabled and running on your application and otherwise generates an error.

Opcache is a bytecode optimizer that improves the PHP performance significantly. It is heavily discouraged to run a PHP application in production without Opcache enabled.

This observation looks if the extension is enabled in PHP and if the INI setting opcache.enable=true and at runtime by looking at the output from the PHP function opcache_get_status (Docs) value of opcache_enabled flag.

Still need help? Email [email protected]