Rating: 5 stars
Install is not like other plugins — and in fact if you do upload it to plugins and then activate it, it’ll bring your site down in many cases.
You can upload it (but don’t activate!) and then use the server side to move the plugin file manually into wp-content (and then delete the uploaded plugin folder and readme.txt).
But that’s not enough to make the whole thing work!
You also need memcached running on your server and properly configured, and the pecl memcache extension compiled on the server side in your php configuration, too.
Make sure to use a unique salt as well.
Once it’s all there, the speed improvement is significant!
Happy to try and help those that respond to this thread if you need — or at least try to get you pointed in the right direction.
Thanks for the plugin, devs! Appreciate as you update and keep current as well!
]]>Rating: 1 star
Unable to install the plugin : application not recognized.
]]>Rating: 5 stars
@terrykernan I moved like you said but then i get ciritcal error and can enter the Admin section of wordpress, when i remove it from WP-Content everything works again. I installed the plugin only because i have Redis on my host
]]>Rating: 5 stars
Tip for others here, if you are getting this error:
“Cannot redeclare wp_cache_add”
It probably means you have the object-cache.php file in the wrong directory, it should not be in the plugins/memcached/ folder, it should be moved to the wp-content folder!
]]>Rating: 1 star
Fatal error: Cannot redeclare wp_cache_add() (previously declared in /htdocs/wp-includes/cache.php:41) in /htdocs/wp-content/plugins/memcached/object-cache.php on line 19
]]>Rating: 5 stars
It works well even with WPRocket Cache plugin.
If you get fatal errors don’t forget to install PECL memcache module to PHP.
]]>Rating: 1 star
Fatal error: Cannot redeclare wp_cache_add() (previously declared in /home/accessib/public_html/wp-includes/cache.php:41) in?/public_html/wp-content/plugins/memcached/object-cache.php?on line?19
]]>Rating: 5 stars
Php 7.4
Cannot redeclare wp_cache_add() (previously declared in C:\xampp\htdocs\wp-includes\cache.php:41) in C:\xampp\htdocs\wp-content\plugins\memcached\object-cache.php on line 19
]]>Rating: 1 star
Not working PHP8
]]>Rating: 5 stars
Set it up today, very quickly. Works perfectly.
First, I installed the ‘memcache‘ PHP extension (sudo apt install php7.4-memcache). I tried installing the ‘memcached‘ PHP extension, but it turned out that it was the wrong one.
Next, I generated a random string, and added the following line to my wp-config.php
define( ‘WP_CACHE_KEY_SALT’, ‘…long random string…’ );
Last, I copied the object-cache.php file to my wp-content directory.
And it worked! (Memcached was already running on my server, so didn’t include that in my explanation)
Speeds up our WooCommerce store tremendously. The best part is that this plugin is open source without any expensive premium tiers.
]]>Rating: 1 star
Unhappy not working and setup installations are very confusing ??
]]>Rating: 5 stars
$memcached_servers = array(
'default' => array(
'127.0.0.1:11211'
)
);
to wp-config.php
Rating: 4 stars
Not too bad.
]]>Rating: 3 stars
Fatal error: Cannot redeclare wp_cache_add() (previously declared in /public_html/wp-includes/cache.php:30) in /public_html/wp-content/plugins/memcached/object-cache.php on line 23.
UPD:
To plugin author:
Please make the “copy the file to wp-content instead of activating it in the backend” message more attractive!
Works. The website speed become A BIT faster, but still too slow (WP 5.7, no other cache plugins).
]]>Rating: 5 stars
Still works like clockwork! Thank you gents.
You might want to consider updating the “tested up to”. That is all ??
Rating: 1 star
Causes you to be unable to login.
]]>Rating: 5 stars
For my purposes, that assume a default configuration (of ‘memcached’), this little plugin just works. And it seems to cache a wide variety of objects by design.
It’s important to follow the instructions carefully though, as this is a drop-in, the installation of which is not that, of a standard plugin.
Dirk
]]>Rating: 5 stars
Hi!
It works out-of-box, just added the file and done! Awesome work here!
Only had to replace the constructor name at 424 to -> function __construct() – so we avoid a Warning at PHP7, for example.
Kind Regards,
Rafael
Rating: 5 stars
Great to have a standalone memcached plugin for persistent object cache
]]>Rating: 5 stars
Tired of the games – Not working although all requirements are installed
]]>Rating: 1 star
Getting consistent fatal errors upon activation of plugin
Fatal error: Cannot redeclare wp_cache_add() (previously declared in /home/urbschool/public_html/wp-includes/cache.php:27) in /home/urbschool/public_html/wp-content/plugins/memcached/object-cache.php on line 22
]]>Rating: 5 stars
Object caching in combo with Nginx Helper and FastCGI Cache (for full response caching) on a server installed with Easy Engine. Object cache used to be done by W3TC but I decided to get rid of the bloat and test Memcached Object Cache.
Just perfect!
]]>Rating: 5 stars
using this with 2 sites with 30,000+ posts each. you drop it at wp-content folder, and it just works.
]]>Rating: 5 stars
Does exactly what it’s supposed to do.
]]>Rating: 5 stars
I’ve used this dropin multiple times over the past few years and it has worked flawlessly for me. I’ve heard others complaining of problems, but I haven’t experienced any myself. I have had problems with other APC and Memcached plugins, but not this one.
]]>Rating: 5 stars
After uploading it shows error on activation.
Fatal error: Cannot redeclare wp_cache_add() (previously declared in /home/domain.com/public_html/wp-includes/cache.php:24) in /home/domain.com/public_html/wp-content/plugins/memcached/object-cache.php on line 22
Any fix ?
]]>Rating: 5 stars
Solo una observación… las instrucciones dicen que se debe copiar el archivo object-cache.php
al directorio wp-content
pero en realidad debe moverse.
Rating: 1 star
Fatal error: Cannot redeclare wp_cache_add()
]]>Rating: 5 stars
Was difficult to get memcached installed due to some compile issues, but once memcached was installed this plugin worked great!
]]>