[wp-trac] [WordPress Trac] #49691: opcache and restrict_api

WordPress Trac noreply at wordpress.org
Tue Mar 24 09:34:26 UTC 2020


#49691: opcache and restrict_api
----------------------------+-----------------------------
 Reporter:  iheadru         |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  5.3.2
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 Hello!

 Between 4.8 and 4.9 versions of WordPress code became not compatible with
 opcache restrict_api.

 If PHP opcache.restrict_api is defined Wordpress generate warnings like
 these

 PHP Warning:  Zend OPcache API is restricted by "restrict_api"
 configuration directive in ***/wp-admin/includes/file.php on line 502

 PHP Warning:  Zend OPcache API is restricted by "restrict_api"
 configuration directive in ***/wp-admin/includes/file.php on line 604

 If PHP display_errors is On this leads to  some functions in admin not
 work.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49691>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list