[wp-trac] [WordPress Trac] #64707: opcache
WordPress Trac
noreply at wordpress.org
Mon Feb 23 15:51:38 UTC 2026
#64707: opcache
----------------------------+-----------------------------
Reporter: hupe13 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Site Health | Version: trunk
Severity: normal | Keywords:
Focuses: administration |
----------------------------+-----------------------------
WordPress: 7.0-beta1
php 8.5
opcache enabled (file)
The site health checks the existence of opcache in includes/class-wp-site-
health.php:
{{{
2803: if ( function_exists( 'opcache_get_status' ) )
}}}
But opcache_get_status "will not return any information about the file
cache". It returns false and site health reports "Opcode cacheDisabled".
See https://www.php.net/manual/en/function.opcache-get-status.php
So WordPress incorrectly reports the existence of opcache.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64707>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list