Knowledgebase: Virtual Private Servers
How do I disable APC cache via .htaccess?
Posted by Brian F., Last modified by Brian F. on 29 June 2010 06:27 PM
To disable APC cache via .htaccess, you'll need to complete the following steps:
  1. Connect to your account through FTP or cPanels file manager

  2. Navigate to your domains public_html/ directory

  3. Locate your .htaccess file and open it in a text editor, or download the file to edit on your local computer

  4. Add the following line to the .htaccess file: php_flag apc.cache_by_default Off

  5. Save the .htaccess file, and re-upload it to your FTP if you edited the copy locally
(148 vote(s))
Not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).