how to install and enable memcached for wordpress on LEMP Ubuntu 14.04?

December 29, 2015 980 views
PHP WordPress LEMP

i am new vps starter , how to install and enable memcached for wordpress on LEMP Ubuntu 14.04?

1 comment
  • I have succeed to install the memcached for the server according to https://www.digitalocean.com/community/tutorials/how-to-install-and-use-memcache-on-ubuntu-12-04
    but for wordpress , I install the plugin "Memcached Object Cache" , and Copy object-cache.php to wp-content, met a Fatal error: Cannot redeclare class WPObjectCache in /var/www/html/wp-content/plugins/memcached/object-cache.php on line 93 , and the web is erro 500. when remove it from wp-content, the web working normally.

    how to solve this problem?

    by Etel Sverdlov
    Memcache is a system that works to speed up virtual private servers by caching server information. The program allows you to allocate a specific amount of the server ram toward caching recently queried data for a certain amount of time. This tutorial covers Memcache installation and illustrates how to use memcache with a simple php script.
1 Answer
Have another answer? Share your knowledge.