Saw a blog post today. I had great success in my GAE projects using memcache and local cache, and I decided to follow the instruction to add memcache to my blog.
The plugin mentioned above is http://wordpress.org/extend/plugins/memcached/. Install was easy. But I got error "Fatal error: Cannot redeclare class wp\_object\_cache" when I was trying to activate the plugin. Oops, I forgot to define the memcached server.
I was googling for a simple memcache server, but after reading this, I decide to install extension apc rather memcache. Because this blog is small, and memcache server will be running on the same server as the http server. Extension apc is enough!
I updated the php apc extension by
pecl install apc service php5-fpm restart
Verify it with <?php phpinfo( );?>
Then, edit /etc/php5/fpm/conf.d/apc.ini to enable it
extension=apc.so apc.enabled=1 apc.shm_segments=1 apc.shm_size=32M
By the way, I installed php5-fpm with the following command. I don't really need to pecl install apc. I followed this post to install ZendGuardLoader and eaccelerator.
add-apt-repository ppa:brianmercer/php && apt-get update apt-get -q -y install php5-cli php5-common php5-mysql php5-suhosin php5-gd apt-get -q -y install php5-fpm php5-cgi php-pear php5-memcache php-apc