[wp-trac] [WordPress Trac] #65395: Site Health falsely reports "Opcode cache is not enabled" on shared hosting (WP 7.0)
WordPress Trac
noreply at wordpress.org
Tue Jun 2 21:05:13 UTC 2026
#65395: Site Health falsely reports "Opcode cache is not enabled" on shared hosting
(WP 7.0)
--------------------------+-----------------------------
Reporter: kofwae | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 7.0
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Hello,
I am experiencing a false positive/negative warning in the Site Health
tool under WordPress 7.0. The tool reports that "Opcode cache is not
enabled".
However, checking the server's phpinfo() clearly shows that Zend OPcache
is "Up and Running" (enabled on the server level by the hosting provider).
According to my hosting support (Blueboard.cz), on shared hosting
environments, direct management/clearing of OPcache via PHP functions
(like opcache_reset) is restricted for security and stability reasons to
prevent users from affecting other tenants on the same server.
It seems that the Site Health tool in WP 7.0 flags OPcache as disabled
simply because it lacks administrative privileges to control it, even
though the caching mechanism is actively running and optimizing the site.
Could the check be adjusted to only look for the extension status, rather
than requiring full write/reset permissions?
Thank you!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65395>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list