How to disable OPcache on Turbo servers

This article describes how to disable OPcache for PHP on the following hosting packages:

  • Turbo Boost and Turbo Max Web Hosting accounts.
  • Turbo Managed VPS.
  • Turbo Managed Dedicated server.

Disabling OPcache

OPcache stores compiled PHP code in memory, which helps accelerate performance. By default, OPcache is enabled on Turbo accounts. However, you can disable it if necessary (for example, for testing or debugging purposes).

To disable OPcache, follow these steps:

  1. Log in to cPanel.
    If you do not know how to log in to your cPanel account, please see this article.
  2. In the Software and Services section of the cPanel home screen, click Select PHP Version.
  3. In the list of PHP extensions, clear the opcache check box.
  4. Click Save. OPcache is now disabled.
    To re-enable OPcache, select the opcache check box, and then click Save.


More Information

For more information about OPcache, please visit

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.

We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.