How to enable memcached on cPanel shared hosting at FastyCloud

Last modified: July 31, 2020
You are here:
Estimated reading time: < 1 min

Memcache is supported on FastyCloud 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.

Was this article helpful?
Dislike 0
Views: 20