Hostiso Blog

The latest news and announcements about our company, infrastructure and services!

How to install memcached

  • September 14th, 2016

memcached_hostisoMemcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load. Memcached is a very useful also in other cases, than only dynamic web applications.

To install memcached on cPanel servers with CentOS 6.5+, you need to have root access, install is really easy and quick, just fallow these simple steps.

Please note on Hostiso servers, we install this for free, you just need to request it 🙂

If you wish to install it, fallow these steps to install memcached on your server:

Open your terminal and type: cd /root and execute bellow commands:

yum install libevent libevent-devel

yum install memcached

yum install cyrus-sasl-devel

yum install libmemcached\*

And at end add support in PHP  for  memcached:

pecl install memcached

Start Memcached

# Set Memcached to start automatically on boot chkconfig memcached on # Start Memcached /etc/init.d/memcached start ## OR ## service memcached start

Now restart Apache:

  • service apache2 restart

That is all 🙂 if you wish you can configure settings here, like memory, number of connections: /etc/sysconfig/memcached.

If you wish to track stats and see some other details you can download this simple tool: phpMemcachedAdmin

Want regular updates?

Our engineers and developers are always posting interesting articles regarding the latest announcements and guides in the world of cloud hosting.

Subscribe via RSS

What Our Customers Say

We've helped hundreds of clients with custom server solutions, enabling them to operate much more efficient and secure than they ever did before.

Hostiso are polite guys with rich experience in linux and script support. They know how to run hosting biz and that is why they are concerned about their customers comfort.

Mark Miller
Health Company

Finally, after so many hosts for now I feel I have found hosting provider that I will stay for long with. The main reason of my satisfaction as a customer is their support.

Tom Smith
Video Streaming Company

Hostiso is comfortable to deal with for such a novice in hosting like me. They have polite staff who interact with customers in high professional manner.

Mia Fonda
SAAS Billing Solutions

Looking for a custom solution?



Our technicians can provide you with the best custom made solutions on the market, no

matter whether you're a small business or large enterprise.

Get in touch