On one of the servers when I call opcache_reset() function (through php-fpm), it sometimes returns me false and the key opcache_enabled (from opcache_get_status function) is false too. It automatically becomes true after some time and then the function works. Is this behaviour expected?
(Notice the restart_pending flag is on now, which is expected)
Now if I call the opcache_reset() at this point in time, it returns me false with opcache_enabled also as false. What am I missing out? Same thing works fine on other servers.
I've the following OPCode configuration in php.ini:
On one of the servers when I call
opcache_reset()
function (through php-fpm), it sometimes returns mefalse
and the keyopcache_enabled
(fromopcache_get_status
function) is false too. It automatically becomes true after some time and then the function works. Is this behaviour expected?Before:
-------> Calls
opcache_reset()
, getstrue
:Now the status is:
(Notice the restart_pending flag is on now, which is expected)
Now if I call the
opcache_reset()
at this point in time, it returns mefalse
withopcache_enabled
also asfalse
. What am I missing out? Same thing works fine on other servers.