[wp-trac] [WordPress Trac] #63697: Add OPCache to Site Health

WordPress Trac noreply at wordpress.org
Sat Dec 20 13:24:08 UTC 2025


#63697: Add OPCache to Site Health
-------------------------------------+-----------------------------
 Reporter:  oglekler                 |       Owner:  SergeyBiryukov
     Type:  enhancement              |      Status:  reviewing
 Priority:  normal                   |   Milestone:  7.0
Component:  Site Health              |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  performance
-------------------------------------+-----------------------------

Comment (by ozgursar):

 == Test Report
 === Description
 This report validates that the indicated patch works as expected.

 Patch tested: https://github.com/WordPress/wordpress-develop/pull/9260

 === Environment
 - WordPress: 7.0-alpha-61215-src
 - PHP: 8.2.29
 - Server: nginx/1.29.4
 - Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
 - Browser: Chrome 143.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Five 1.4
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.1

 === Actual Results
 ✅ Issue resolved with patch. (OPcache has been added to Site Health.)

 Before: https://snipboard.io/tW5sfu.jpg
 After: https://snipboard.io/PvX5t1.jpg

 === Additional Notes
 I couldn't find a way to test against the issue that @rollybueno has
 mentioned using the WordPress development environment running on Docker
 Desktop.

 - It basically showing a generic error when using silence call due to
 possible false response if opcache.restrict_api is set, as per
 https://www.php.net/manual/en/function.opcache-get-
 status.php#refsect1-function.opcache-get-status-errors.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63697#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list