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.
  • 25 Users Found This Useful
Was this answer helpful?

Related Articles

How to Change your cPanel Password in cPanel

Often you may want to change your cPanel password for one or more reasons. It is always...

How to Enable Hotlink Protection

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

How to Change cPanel Password in the Core

Often, you may want to change your cPanel password. You can do this from your core panel. To...

406 Not Acceptable Error

A 406 Not Acceptable Error is indicating that the script you are trying to run is triggering...

How to Backup Entire Site in cPanel

You can backup your entire site including databases, e-mails, settings etc using the cPanel...