Running "drush cc", and choosing [1] for clearing all cache outputs the following:

WD php: Warning: apc_cache_info(): No APC info available.  Perhaps APC is not enabled? Check apc.enabled in your ini file in DrupalAPCCache->clear() (line 237 of[warning]
drupal-7.0/sites/all/modules/apc/drupal_apc_cache.inc).
WD php: Warning: apc_cache_info(): No APC info available.  Perhaps APC is not enabled? Check apc.enabled in your ini file in DrupalAPCCache->clear() (line 237 of[warning]
drupal-7.0/sites/all/modules/apc/drupal_apc_cache.inc).
abcWD php: Warning: apc_cache_info(): No APC info available.  Perhaps APC is not enabled? Check apc.enabled in your ini file in DrupalAPCCache->clear() (line 237 of[warning]
drupal-7.0/sites/all/modules/apc/drupal_apc_cache.inc).
WD php: Warning: apc_cache_info(): No APC info available.  Perhaps APC is not enabled? Check apc.enabled in your ini file in DrupalAPCCache->clear() (line 237 of[warning]
drupal-7.0/sites/all/modules/apc/drupal_apc_cache.inc).
'all' cache was cleared

..and the cache is NOT cleared. Clearing the cache manually at /admin/config/development/performance works.

I guess the warnings are related to drush using the CLI version of PHP which doesn't make any useful use of APC. APC is in fact enabled in the CLI version, but I still get the errors and the cache is not cleared.

Any ideas?

Comments

moshe weitzman’s picture

Category: bug » support
Status: Active » Fixed

Grep your codebase for DrupalAPCCache. That does not come from drush core.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

waverate’s picture