[wp-trac] [WordPress Trac] #36455: Call opcache_reset() after plug-in, theme or core update

WordPress Trac noreply at wordpress.org
Fri May 12 19:01:52 UTC 2017


#36455: Call opcache_reset() after plug-in, theme or core update
-------------------------------------------------+--------------------
 Reporter:  nigro.simone                         |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  4.8.1
Component:  Upgrade/Install                      |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion has-patch needs-testing  |     Focuses:
-------------------------------------------------+--------------------

Comment (by szepe.viktor):

 {{{#!php
 <?php
 $return = opcache_invalidate('/home/balletcourse/website/html/index.php');
 var_dump($return);
 }}}

 It says: ''bool(false)''
 And in the error log: ''PHP Warning:  Zend OPcache API is restricted by
 "restrict_api" configuration directive in /bla/bla.php
 ''

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


More information about the wp-trac mailing list