I currently have APC installed and running on a CentOs server, it’s working fine however it currently caches all files in all directories.
How can I change the settings so that it only caches directories I choose?
So for example I could enable it one directory using .htaccess?
The only APC settings I currently have in my php.ini are the following:
extension = apc.so
apc.enabled = 1
apc.shm_size = 30
This is a PHP_INI_SYSTEM parameter so you can only do this on a per dir basis if you are are running under cgi/suEXEC/suPHP and can set your php.ini on a per dir basis.