• Resolved chcw

    (@chcw)


    Hi,

    I install Query Monitor and it works well. Then, to test the performance of OPCache, I disable OPCache temporarily in .user.ini and php.ini by adding the following line:

    opcache.enable=0

    After the test, I re-enable the OPCache by using:

    opcache.enable=1

    But now when I activate Query Monitor, I will always get the warning message below:

    Zend OPcache can't be temporary enabled (it may be only disabled till the end of request)

    I check my website’s OPCache at https://www.datanumen.com/opcache.php and it works well.

    So why I get this warning and how to solve the issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    I don’t think this is related to Query Monitor. If you check your PHP errors logs you’ll probably see that message logged even without QM enabled. You’d be best asking on a PHP or Zend forum or checking Stack Overflow.

    Thread Starter chcw

    (@chcw)

    Thank you very much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘What is the meaning of “Zend OPcache can’t be temporary enabled”?’ is closed to new replies.