Title: Opcache &#8211; Plesk
Last modified: October 29, 2020

---

# Opcache – Plesk

 *  Resolved [cogz](https://wordpress.org/support/users/cogz/)
 * (@cogz)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/opcache-plesk/)
 * In the Hummingbird Cache setting the Purge OpCache option is greyed out. I have
   verified that Opcache is running on the server. Is there an reason this option
   is not enabled?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [Imran – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support9/)
 * (@wpmudev-support9)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/opcache-plesk/#post-13599602)
 * Hi [@cogz](https://wordpress.org/support/users/cogz/),
 * Thank you for contacting us.
 * Please add the following code in a php file(you can name it phpinfo.php)
 * <?php
    phpinfo();
 * And place it in root directory (public_html). Then verify by going to the file(
   e.g. mysite.com/phpinfo.php) and ensure Opcache is turned on for the site. Also,
   can you confirm what PHP version you are current running?
 * Best,
    Jonathan S
 *  Thread Starter [cogz](https://wordpress.org/support/users/cogz/)
 * (@cogz)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/opcache-plesk/#post-13601278)
 * Hi, Please see below. Thanks!
 * PHP Version 7.4.11
    Zend OPcache Opcode Caching Up and Running Optimization Enabled
   SHM Cache Enabled File Cache Disabled Startup OK Shared memory model mmap Cache
   hits 235837 Cache misses 1794 Used memory 71300336 Free memory 62913496 Wasted
   memory 3896 Interned Strings Used memory 6291008 Interned Strings Free memory
   0 Cached scripts 1762 Cached keys 1762 Max keys 16229 OOM restarts 0 Hash keys
   restarts 0 Manual restarts 1
 *  Thread Starter [cogz](https://wordpress.org/support/users/cogz/)
 * (@cogz)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/opcache-plesk/#post-13620333)
 * Hi Jonathan,
    did the information provided any insight to the reason Purge OpCache
   option is greyed out?
 * Thanks, Jay
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/opcache-plesk/#post-13634125)
 * Hi [@cogz](https://wordpress.org/support/users/cogz/)
 * Sorry for the delay here.
 * It may happen if your hosting disable the opcache_* commands, for example on 
   our hosting.
 * Can you try to create a PHP file **opcache-reset.php**
 * Place this:
 * `<?php opcache_reset();`
 * And try to execute?
 * [https://www.php.net/manual/en/function.opcache-reset.php](https://www.php.net/manual/en/function.opcache-reset.php)
 * And check if the setting will show, if not, please, contact the hosting support
   and check if they have any restriction for the OpCache.
 * Let us know the result you got
    Best Regards Patrick Freitas
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/opcache-plesk/#post-13634131)
 * Hi [@cogz](https://wordpress.org/support/users/cogz/)
 * Could you also take a look at this?
 * [https://talk.plesk.com/threads/problem-with-using-opcache.349550/](https://talk.plesk.com/threads/problem-with-using-opcache.349550/)
 * Best Regards
    Patrick Freitas
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/opcache-plesk/#post-13656792)
 * Hi [@cogz](https://wordpress.org/support/users/cogz/)
 * I hope you are doing well.
 * We haven’t heard from you in a while, I’ll mark this thread as resolved.
 * However, feel free to let us know if you have any additional question or problem.
 * Best Regards
    Patrick Freitas

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Opcache – Plesk’ is closed to new replies.

 * ![](https://ps.w.org/hummingbird-performance/assets/icon-256x256.gif?rev=2633221)
 * [Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN](https://wordpress.org/plugins/hummingbird-performance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hummingbird-performance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hummingbird-performance/)
 * [Active Topics](https://wordpress.org/support/plugin/hummingbird-performance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hummingbird-performance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hummingbird-performance/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/opcache-plesk/#post-13656792)
 * Status: resolved