How to Enable Memcached on WordPress

TrexHost – Best Web Hosting: Fast, Reliable & Affordable Solutions - Visit: https://trexhost.com

In this guide, we’re going to use the free extension W3 Total Cache to configure WordPress with Memcached.

If you’re already using another extension such as WP Super Cache, you’ll need to deactivate this and install the W3 Cache in order to follow this guide.

Here are the steps to follow to configure W3 Total Cache with Memcached:

1. Sign in to your WordPress dashboard
2. In the main menu, go to Performance then click on General Settings
3.  Activate Memcached for the following options in the Basic Settings:

– Page Cache Method
– Minify Cache method
– Database cache method

-> Save the settings

In the Advanced Settings, enter /home/sys/memcached.sock:0 for Memcached hostname:port / IP:port

Save the settings, and you’ve successfully enabled Memcached on your WordPress website.

You’ll also need to enable Memcached for your hosting account. Check out this article: How to Enable and Use Memcached with PHP on TrexHost.

Need a hosting plan that supports Memcached? TrexHost’s Deluxe Shared Hosting and higher-tier plans have you covered.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top