WebHostingPeople

WebHostingPeople
    • Domain Name Registration

      Domain Registration

      Find A Perfect Domain For Your Business

      Domain Transfer to WebHostingPeople

      Domain Transfer to Us!

      Domain Transfer to Us

      Domain Pricing

      Domain Pricing

      Complete Domain Pricing

      Accredited Registrar

      ₹ 499/- year

  • Cloud VPS
  • Servers
Table of Contents
Print

How to enable memcached on cPanel shared hosting at WebHostingPeople

The support for Memcache is provided by WebHostingPeople’s cPanel shared hosting service. In order to ensure individual isolation, Memcache operates through a socket for each instance.

To enable Memcache support, you need to create a directory called “.memcache” within your home directory. For example, if your username is “username,” create the “.memcache” folder in the root directory. The complete path for this directory will be /home/username/.memcache.

Within 5 minutes, the socket will be automatically generated at /home/username/.memcache/memcached.sock.

You can use this socket location with applications that support Memcache as the location for the Memcache socket.

Additionally, Memcache must be enabled in PHP. To do this, go to cPanel -> Select PHP version -> choose a non-native PHP version and enable the Memcache module.

Post Your Comment

Categories