Have you installed the Memcached extension, the plugin is asking for?
Yes..
# yum install memcached
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.sitbv.nl
* extras: mirrors.supportex.net
* updates: mirrors.viralvps.com
Setting up Install Process
Package memcached-1.4.4-3.el6.x86_64 already installed and latest version
Nothing to do
# service memcached restart
Stopping memcached: [ OK ]
Starting memcached: [ OK ]
I missed of the line number before. If it helps..
PHP Fatal error: wp-ffpc Memcached extension missing in /home/xxxxx/public_html/wp-content/plugins/wp-ffpc-old/wp-common/plugin_utils.php on line 123
you’ve installed memcached, the memcached daemon, not the PHP Memcached extension by that.
Is the php extension memcache? I have that installed too..
# php -i | grep memcache
memcache
memcache support => enabled
memcache.allow_failover => 1 => 1
memcache.chunk_size => 32768 => 32768
memcache.compress_threshold => 20000 => 20000
memcache.default_port => 11211 => 11211
memcache.hash_function => crc32 => crc32
memcache.hash_strategy => consistent => consistent
memcache.lock_timeout => 15 => 15
memcache.max_failover_attempts => 20 => 20
memcache.protocol => ascii => ascii
memcache.redundancy => 1 => 1
memcache.session_redundancy => 2 => 2
Registered save handlers => files user memcache
session.save_handler => memcache => memcache
that is php memcache.
the plugin is complaining about the memcached extension; they are not the same thing.
Thanks for the clarification. I eventually got it installed and the plugin works now 🙂
So, it is COMPULSORY to have memcached installed? I have memcache, zend opcache and APCu installed, and for the life of me cannot get memcached installed, mainly due to the (to a non-‘ubuntu geek’ like me) lack of intelligible guides on installing it. Well, that isn’t quite true. I got libevent installed and memcached, but can’t get it started, let alone what I should do to get PHP to load it as a service.
It seems to me that a plugin that doesn’t say you MUST have memecahed installed that then crashes your site and forces you to delete the plugin using ftp because you didn’t have memcached installed is pretty poorly designed.
Unless someone can point me to a site that provides simple instructions? Google was not my friend on this occasion (3 hours of trying).
Hi CotswoldPhoto
No – you do not need memcached at all. It’s either memcache OR memcached.
I have it all set up with Memcache and it works perfectly. You just have to select memcache in the backend option.
Happy to see you here – I enjoy doing business with you and your photo equipment 🙂
Something else CotswoldPhoto: why are you using both memcache and APCu? They serve the same purpose as far as I know. Having both enabled is a waste of memory.
Take all my comments with a big pinch of newbie salt…
It seems compulsory to me. I had to install this PECL extension ( I already had memcached app, memcache pecl extension, Opcache and APCu)
http://pecl.php.net/package/memcached
Something else CotswoldPhoto: why are you using both memcache and APCu? They serve the same purpose as far as I know. Having both enabled is a waste of memory.
APCu is an opcode cache (for speeding up code execution)
memcache is a data cache (caching pages etc)
Perhaps in my somewhat late night daze I did not make myself clear.
I have APCu, memcache and Zend Opcode installed under PHP 5.5
I installed WP-FFPC (latest version) and tried to activate it. BAM, it took my site down with the fatal error that the OP gave as the reason for this support ticket, hence me using it. Back end options? Never got that far. With WP-FFPC installed I can’t get that far.
As mokumusic says, right now memcahed seems to be compulsory. It may be that it was not intended to be, in which case something isn’t right.
You can check for Memcached php extension:
# php -i | grep memcached
memcached
memcached support => enabled
libmemcached version => 1.0.18
..<<SNIP>>
Memcached depends on libmemcached, so make sure you have installed that too