How to Disable APC Cache via .htaccess

You can disable APC Caching for your domain via .htaccess with the following steps:
  • Login to your account through FTP or cPanel's file manager

cPanel Login

  • Navigate to your domains "/public_html" directory

public_html

  • Locate your .htaccess file and open it in a text editor, or download the file to edit on your local computer using text-editor.
  • Add the following line to the .htaccess file: php_flag apc.cache_by_default Off
  • Save the .htaccess file, and re-upload it to your "/public_html" if you edited locally.
Was this answer helpful?

Also Read

How to Install Wordpress Using Softaculous

Installaing WordPress is very easy. Follow these guide to setup a new wordpress on your website:...

Terminated Service

Renewal and Service Maintenance: Our services are subscribed, requiring renewal before the...

Windows Server - First Login Errors

If you get the following error message the first time you access Windows after installation, your...

How to Run Python Scripts on GigaLayer

All our shared servers are deployed with support for python scripts. However, you need to do a...

How to Enable Hotlink Protection

To enable/disable hot link protection, follow these simple steps: Log in to cPanel...