Plesk

How to ensure that Opcache is enabled or disabled for a Plesk domain?

Question

Answer

  1. Check which PHP handler is used by the website at Domains > example.com > PHP Settings > PHP support ( PHP version ...)
    php.PNG

    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.

  2. Check if OPcache is active or inactive for the domain at Domains > example.com > PHP Settings > Performance Settings > opcache.enable

  1. Check if OPcache is enabled for the handler at Tools & Settings > PHP Settings > PHP_HandlerName

Note: Opcache statistics are available at Domains > example.com > PHP Settings > View the php_info() page - cache hits, cache misses.

Additional information

Customizing PHP Parameters | Plesk Obsidian documentation

Exit mobile version