Closed (fixed)
Project:
Alternative PHP Cache
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2013 at 15:31 UTC
Updated:
1 Aug 2013 at 08:41 UTC
I have one virtual server with 2 installations of drupal. One is for testing purposes. Is it possible to restrict usage of APC to certain directories only, so the testing page won't eat the same amount of resources as production site? My files are installed on server like this:
data/web/mydomain.com/web - I want to use apc here.
data/web/mydomain/sub/test - I do not want to use apc.
Thank you
Comments
Comment #1
Sarenc commentedThe way I do this is apc.cache_by_default = 0 in /etc/php.d/myfile.ini then apc.cache_by_default = 1 in the .htaccess file of the production site.
Or you can just set apc.cache_by_default = 0 in data/web/mydomain/sub/test/.htaccess
Comment #2
R.Muilwijk commented