How to install memcache on WHM/cPanel server (CentOS)?

Following article will assist you to install Memcache in cPanel/WHM server.

  1. Login into your WHM.
  2. Locate Software section and select Module Installers. Here you will see list of installed language modules.

    Software Section

  3. Click on Manage button of PHP Pecl language module.

    Module Installers

  4. Under Find a PHP Pecl search bar, search for "memcache" and click on Go button.

    PHP PECL Installer

  5. From the search results, install both memcache & memcached.

    Install Memcache

  6. At the end of each installation, scroll down to make sure each of them installed perfectly and did not give any errors. If you receive a dependency error while installing memcached. Connect to server via SSH and run following command.

    yum install libmemcached.
  7. Once these PHP Pecls are installed, restart apache service by issuing following command in SSH.

    service httpd restart

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

Fix - cPanel Account Restore Failed: Failed to create the account. A database owner with the name “cpaneluser” already exists

One of our customers was migrated from another cPanel host. While restoring his account to our...

How to set the backup configuration in WHM?

You should consider taking the Backup of your cPanel data at a regular interval. cPanel provides...

Fatal error: Call to undefined function mysqli_connect() in /home/user/public_html/includes/connection.php

Error Message Fatal error: Call to undefined function mysqli_connect() in...

How to convert addon domains to a separate cPanel account?

You may have multiple addon Domains hosted in a cPanel account. Following article will help you...

Fix - tailwatchd service is down in WHM

One of our customers received an email from WHM that service tailwatchd is down. We have taken...