Opened 5 years ago
Closed 5 years ago
#49691 closed defect (bug) (fixed)
opcache and restrict_api
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-patch |
Focuses: | administration | Cc: |
Description (last modified by ) ¶
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.
Pull Requests
- Loading…
Change History (5)
Note: See
TracTickets for help on using
tickets.
Attached is a patch that checks for empty/unrestricted
opcache.restrict_api
or thatopcache.restrict_api
haswp-admin