Closed (fixed)
Project:
Drush
Version:
7.x-4.4
Component:
Core Commands
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2011 at 03:46 UTC
Updated:
10 Jul 2011 at 23:50 UTC
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
Comment #1
moshe weitzman commentedGrep your codebase for DrupalAPCCache. That does not come from drush core.
Comment #3
waverate commentedSame issue.
Opened APC issue #1214668: Warning: apc_cache_info(): No APC info available..