Question

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

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

Subscribe
Share

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 WP_Object_Cache 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?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @icemanfinn,

Installing Memcache and a Plugin for WordPress to use it should be sufficient. There is no need to edit anything else in the WordPress files directly. The plugin would make it’s necessarily files and work with them.

Regards, KDSys

This comment has been deleted