In the apc.ini or php.ini file for the Drupal installation, add the following lines:
apc.ttl=604800
apc.user_ttl=3600
apc.shm_size=256M
apc.include_once_override=1
auto_globals_jit=Off
apc.num_files_hint = 2048
apc.stat_ctime = 0
apc.file_update_protection = 2
apc.stat = 0
These settings will establish a 256 MB APC allocation for the PHP caching facility. Adjust as required for lower/higher values and review the cache timing variables.
Navigate to: /usr/share/pear/apc.php on the web server & copy the apc.php file to the root folder. Then open the page in a web browser at https://example.com/apc.php.
Drupal administrators can access analytics information about the number of cached files/cache requests, amount of free memory, & total allocated RAM usage for APC.