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.
Fatal error: Call to undefined function apc_fetch() in /usr/home/freja/public_html/v4s/sites/all/modules/cacherouter/engines/apc.php on line 29
I got this error while I'm trying to install module, installed apc successfully.
Comments
Comment #1
kyle_mathews CreditAttribution: kyle_mathews commentedMake sure you added the correct lines to your php.ini file (On my ubuntu server it's at /etc/php5/apache2/php.ini)
I added:
Comment #2
mikl CreditAttribution: mikl commentedIf apc_fetch() is undefined, APC is not installed properly.
Therefore, this is not a bug in Cache Router.
Comment #3
najibx CreditAttribution: najibx commentedI'm only getting this error when at php.ini set display_errors: On
Looks like apc is installed properly as I can see apc information in phpinfo(); is it?
Apache Version Apache/2.2.3 (CentOS)
PHP Version 5.3.0
apc
APC Support enabled
Version 3.1.3p1
MMAP Support Enabled
MMAP File Mask no value
Locking type pthread mutex Locks
Revision $Revision: 286798 $
Build Date Nov 7 2009 18:23:35
..
apc.shm_size 128 128
Comment #4
mokko CreditAttribution: mokko commentedI have a similar issue (with D6 version) and would appreciate a pointer as where to look next. php info displays what looks sane info to me.