How to install memcache in 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

Related Articles

How to set limited privileges to a reseller account in WHM?

After creating Reseller account in WHM, the most important part is to set Reseller privileges....

How to Create Reseller Account from WHM?

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

How to Migrate/transfer Emails from cPanel to cPanel?

You can migrate the whole cPanel account including emails using cPanel transfer tool. Click on...

How to Allow Remote Connection to MySQL Server in cPanel/WHM Server?

To prevent potential security risks to MySQL server, by default remote MySQL connections are...

How to allow Ports in WHM Firewall and CSF Firewall through SSH?

There are times when you are required to open some ports in the firewall to run applications....

  • 0 Users Found This Useful

Was this answer helpful?