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 :: file open /home/user/etc/domainname/passwd failed with error no such file or directory

Problem Statement Getting error while creating an email account from cPanel. Error Message...

How to install CloudFlare cPanel plugin in WHM?

CloudFlare plugin integrates CloudFlare services with cPanel server and allows your customers to...

How to install ConfigServer Explorer to cPanel/WHM?

Undoubtedly, WHM has been the most comprehensive control panel of all time for Linux based...

How to Create Reseller Account in WHM?

WHM allows you to create reseller accounts under your cPanel Linux VPS. To create reseller...

SMTP error while using PHPMailer with GMail Authentication

Problem Statement One of our Linux VPS customer was unable to send emails through PHPMailer...