• Resolved aar6on67

    (@aar6on67)


    I am getting the following notice “Zend OPcache is loaded but not activated. You need to set opcache.enable=1 in your php.ini”

    PHP 7.2.6 with OpCache 7.2.6

    in my php.ini I have

    local value master value
    opcache.enable On On
    opcache.enable_cli Off Off
    opcache.enable_file_override Off Off

    And within your plugin Statistics, configuration tab opcache.enable is true

    No stats are showing up either.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter aar6on67

    (@aar6on67)

    found this in the error logs

    “NOTICE: PHP message: PHP Warning: opcache_get_status() has been disabled for security reasons in /var/www/vhosts/xxxx.com/httpdocs/wp-content/plugins/flush-opcache/opcache.php on line 41”

    Thread Starter aar6on67

    (@aar6on67)

    I guess I answered my own question, but i’ll leave here for future people.

    in plesk php settings the default disable_functions had “opcache_get_status” as disabled. Removing this allowed the plugin to function properly.

    Plugin Author nierdz

    (@mnttech)

    Thanks for this tip !

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Zend OPcache is loaded but not activated’ is closed to new replies.