How to enable memcached on cPanel shared hosting at InterServer

By on November 18th, 2019

Memcache is supported on InterServer’s cPanel shared hosting. For isolation between user’s, memcache runs via socket for each instance.

 

To enable memcache support create a folder called .memcache with in your home directory. For example if your username is username, create the folder .memcache in the root directory. This full path will be /home/username/.memcache

 

With in 5 minutes the socket will be automatically created at /home/username/.memcache/memcached.sock

This socket can be used with in programs which support memcache as the location of the memcache socket.

 

Memcache must also be enabled in PHP. To do this, with in cPanel -> Select PHP version -> select a non native php version and enable memcache module.

2 Responses to “How to enable memcached on cPanel shared hosting at InterServer”

  1. McDude says:

    Could you be any more vauge?…

    “and enable memcache module”

    How exactly?…I don’t know how because you haven’t told me.

    Please tell me.In detail.

    Thanks.

    • Hello,

      Greetings from InterServer support.

      memcache is an option which can be easily enabled through Cloudlinux PHP handlers under our Linux Shared hosting platforms.

      1. Make sure you are using Cloudlinux PHP handlers instead of Multi-ini (cPanel >> Multiini Manager >> Select domain name >> Select alt-php7.4

      2. Enable memcached from Cloudlinux PHP handlers (cPanel >> Select PHP version >> Select php 7.4 >> set as current >> extension >> enable checkbox memcached

      If you are still confused or have any questions, please feel free to reach us through a Live Chat support session for quick fix.

      Have a great day.

Leave a Reply