[wp-trac] [WordPress Trac] #49691: opcache and restrict_api
WordPress Trac
noreply at wordpress.org
Tue Mar 24 12:59:54 UTC 2020
#49691: opcache and restrict_api
----------------------------+-----------------------------
Reporter: iheadru | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.5
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
----------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => reviewing
* component: General => Administration
* milestone: Awaiting Review => 5.5
Old description:
> 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.
New description:
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#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list