Skip to content

How do I disable APC cache via .htaccess?

To disable APC cache via .htaccess:

  1. Connect to your account through FTP or cPanel’s File Manager.

  2. Navigate to your domain’s public_html/ directory.

  3. Open your .htaccess file in a text editor (or download it to edit locally).

  4. Add the following line:

    php_flag apc.cache_by_default Off
  5. Save the file and re-upload it if you edited the copy locally.