Support » Plugins and Hacks » W3 Total Cache » mod_fcgid: stderr: PHP Fatal error: Class 'Memcache' not found

  • Resolved savagemike

    (@savagemike)


    I (accidentally) updated PHP to 5.4.11 on my VPS using yum. I then updated both the APC and memcache extensions using PECL in an attempt to fix this error. However, I am still seeing the following in my error log:

    mod_fcgid: stderr: PHP Fatal error: Class ‘Memcache’ not found in /var/www/vhosts/(my domain)/wp-content/plugins/w3-total-cache/lib/W3/Cache/Memcached.php on line 38

    The site displays a 500 ISE. Checking my phpinfo.php file shows apc.so is being loaded, but not memcache.so. Both are in the extensions directory, have the same permissions, and are specified in the php.ini file. I am a bit stuck here. Any advice?

    http://wordpress.org/extend/plugins/w3-total-cache/

Viewing 1 replies (of 1 total)
  • I fixed it. For some reason, it’s using a different php.ini file than I expected it to (thanks Plesk), so once I added the extensions to that file, and then did pecl install memcache once more, all is well.

Viewing 1 replies (of 1 total)
  • The topic ‘mod_fcgid: stderr: PHP Fatal error: Class 'Memcache' not found’ is closed to new replies.