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?

 Print this Article

Also Read

406 Not Acceptable Error

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

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 Create a Subdomain

Log in to your cPanel Navigate to Subdomains under the Domains tab Enter the...

How to Create/Delete MySQL Database User

To Create a Database User Log into cPanel   Under Databases, click MySQL Databases...

How to Export a MySQL Database

Log in to cPanel   Click phpMyAdmin under the Databases tab On the left...