WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] mod_fcgid: stderr: PHP Fatal error: Class 'Memcache' not found (2 posts)

  1. savagemike
    Member
    Posted 1 year ago #

    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/

  2. savagemike
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic