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 https://secure.php.net/manual/en/intro.opcache.php.

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.

Usamos cookies con el fin de personalizar para usted nuestro sitio Web y analizar el uso de éste. Usted acepta esto haciendo clic en “Acepto” o al continuar usando el sitio Web. Hay más información sobre cookies en nuestra política de privacidad.