• Resolved Ole

    (@olpo24)


    Hi,

    My webhostet says Zend OPcache is available.
    Your plugin says Zend OPcache is not available.
    What can I do?

    Kind regards,
    Ole

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

    (@nawawijamili)

    Hi,

    This is how docket cache detects if OPcache enables or not.

    1) If opcache.enable is set to true.
    2) If OPcache extension loaded by checking opcache_reset function exists.

    public function is_opcache_enable()
        {
            try {
                return @ini_get('opcache.enable') && \function_exists('opcache_reset');
            } catch (\Throwable $e) {
                // rare condition on some hosting
                nwdcx_throwable(__METHOD__, $e);
            }
    
            return false;
        }

    Thanks.

Viewing 1 replies (of 1 total)
  • The topic ‘Zend OPcache?’ is closed to new replies.