Bobcares

Activate memcached cpanel

by | Jan 22, 2023

Wondering how to activate memcached cpanel? Our cPanel Support team is here to lend a hand with your queries and issues.

How to activate memcached cpanel?

Memcached is a general-purpose distributed memory caching system.

It is often used to speed up dynamic database-driven websites by caching data and objects in RAM to reduce the number of times an external data source must be read.

To enable Memcached,

  •  Firstly, login to your cPanel
  • Next, find Memcached under the Software section and click on it
  • To enable Memcached, choose the maximum cache size you’d like Memcached to able to use from the dropdown box below, and click the switch to on. We would recommend setting the Memcached value to no more than 25-50% of your total available RAM:
  • Finally, enable the Memcached PHP Extension via the PHP Selector tool in cPanel.

You should now be able to select and use Memcached, as a caching method for your application.

Memcached runs as UNIX socket, which is ~116% faster, as no TCP connection is required to connect to it, so to configure your application properly, you’ll need to specify the Memcached socket address

How To Enable Memcached for your WordPress Website

Firstly, from your WordPress Dashboard, navigate to LiteSpeed Cache > Cache > Object.

Object Cache should be ON and Method should be Memcached

As explained above, set only the Username and Password that you’ve previously set in cPanel.

The other fields should remain set as default.

Do this for each WordPress install as necessary.

That’s all. Now you know how to enable Object Cache for your WordPress site.

How To Enable Memcached for other web apps

If your site runs from a different platform and you want to use Memcached, please use the settings provided below to enable Object Cache.

Method: Memcached

Host: 127.0.0.1

Port: 11211

Default Object Lifetime: 360 (seconds)

Username: your cPanel username

Password: the password set for your LSMCD username in cPanel.

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion

In conclusion, our Support Engineers demonstrated how to activate memcached cpanel. Furthermore, we went through different causes and solutions for this specific error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

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

Never again lose customers to poor
server speed! Let us help you.