• Resolved Matta Cib

    (@matta-cib)


    Hello,
    I get the following message on the ‘OpCache’ tab: ‘No data is available. The opcache_get_status function disabled in PHP configuration.’ Accordingly, the entries ‘Cache Hits’, ‘Cached Files’ etc. all have the value ‘0’. And now I would like to know please how I can change the status to enabled.
    However, on the ‘Overview’ tab it says, among other things:

    • Object Cache 9M object of 49000 files
    • Zend OPcache Enabled
      I have also looked in the wp-content/cache/docket-cache/ directory, where there are currently 57,670 php files.
      Can I conclude from this that Docket Cache is working after all and only the display on the ‘OpCache’ tab is not correct? If so, how can I get the display to be correct?
      Incidentally, there is no error in the php-error.log that points to Docket Cache or OpCache.
      Thanks for your help and kind regards

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi there,

    Docket Cache uses the “opcache_get_status” function to get OPcache status information. It seems that “opcache_get_status” has been disabled on your hosting.

    This behaviour is common for shared hosting servers where OPcache is deployed globally across hosting accounts. Disabling it will protect file listings on other accounts.

    Can I conclude from this that Docket Cache is working after all and only the display on the ‘OpCache’ tab is not correct?

    Yes, Docket Cache works for object caching but cannot use OPcache to speed up cache performance.

    If so, how can I get the display to be correct?

    The “opcache_get_status” function must be enabled to display OPcache status information. You may contact your hosting provider to enable it, if possible.

    References:

    https://www.php.net/manual/en/function.opcache-get-status.php

    Thanks.

    Thread Starter Matta Cib

    (@matta-cib)

    Hello Nawawi,
    thank you for the information and I have forwarded it to my hosting provider. They will probably reply tomorrow (Monday) and I will then give some brief feedback.
    Thank you and best regards
    Matta

    Thread Starter Matta Cib

    (@matta-cib)

    Hello Nawawi,

    the hosting provider resolved the problem. Thanks again!

    Kind regards

    Matta

    Plugin Author Nawawi Jamili

    (@nawawijamili)

    Hi Matta,

    You’re welcome. I’m marking this thread as resolved.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.