Magento: exception ‘Zend_Cache_Exception’ with message ‘can’t get apc memory size’

For me this occurs when I tried to index when APC is enabled on my site. the fix for this is:

  1. Open the APC configuration file /etc/php.d/apc/ini
  2. Enable the variable apc.enable_cli by setting this to 1. apc.enable_cli=1

Courtesy: Magento: Error using APC

Magento: exception ‘Zend_Cache_Exception’ with message ‘can’t get apc memory size’

Leave a comment