Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Dec 15, 2025, 07:02 AM

Title: How to enable / disable OPcache for a domain in Plesk
Post by: Suhitha on Dec 15, 2025, 07:02 AM
Applicable to:




Question

How to enable / disable OPcache for a domain in Plesk?


Answer

1.Log in to Plesk.

2.Find PHP version used by the website at Domains > example.com > Dashboard tab > PHP.

(https://pix.cobrasoft.org/images/2025/12/15/mceclip0-16.png)


3.On the same page, verify that:


Note: To disable OPcache for the domain, switch opcache.enable to "off".

(https://pix.cobrasoft.org/images/2025/12/15/mceclip4.png)

4.Verify that OPcache is enabled in global PHP settings at Tools & Settings > PHP Settings > PHP X.X handler.

(https://pix.cobrasoft.org/images/2025/12/15/mceclip5-2.png)

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