Question
How to ensure that Opcache is enabled?
Answer
-
Check which PHP handler is used by the website at Domains > example.com > PHP Settings > PHP support ( PHP version ...)
Note: According to PHP Documentation, OPcache is available only since PHP 5.5. For PHP 5.2, 5.3 and 5.4 it can be installed as PECL extension.
-
Check if Opcache is enabled for the domain at Domains > example.com > PHP Settings > Performance Settings > opcache.enable "on"
- Check if Opcache is enabled for the handler at Tools & Settings > PHP Settings > handler name
Note: Opcache statistics is available at Domains > example.com > PHP Settings > View the php_info() page - cache hits, cache misses.