Disabling OPcache on Turbo servers

By default, OPcache is enabled on Turbo servers to improve performance. However, you can disable this feature in cPanel if necessary, and this article shows you how.

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

  • Turbo Velocity and Turbo Nitro 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.

    📘

    Note

    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.

    📘

    Note

    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.

Related Articles