Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have installed the extension and it works on one site however when trying to enable it on another site I get this
The APC module needs the apc extension see: http://www.php.net/apc. (Currently using APC Not available)
This is what the server tell me:
pecl/APC is already installed and is the same as the released version 3.1.13
install failed
The APC.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20090626
Tidying /usr/local/lib/php.ini...
No changes
Tidying /usr/local/cpanel/3rdparty/php/53/etc/php.ini...
No changes
Comments
Comment #1
arosboro CreditAttribution: arosboro commentedAPC can't be enabled from cli. You'll have to go into admin/modules...
Comment #2
vip_sa CreditAttribution: vip_sa commentedI sorted it out. The problem is with CPanel and I had to install APC in the server manually for it to work. It now works
Comment #3
Chim CreditAttribution: Chim commentedIf APC is not enabled for cli (command line) PHP then you can't enable it via drush.
You can still enable it the old fashioned way though
Comment #4
MrHaroldA CreditAttribution: MrHaroldA commentedOn a side note, enabling it through Drush is to be fixed in #1567440: Can't enable module using Drush
Comment #4.0
MrHaroldA CreditAttribution: MrHaroldA commentedMore information