Mar
1
2016

How to Install the Memcached PHP Extension on CentOS 7

Memcached is a general-purpose distributed memory caching system. It is often used to speed up dynamic database-driven websites by caching data and objects in RAM to reduce the number of times an external data source (such as a database or API) must be read.

Memcached is free and open-source software, licensed under the Revised BSD license. Memcached runs on Unix-like operating systems (at least Linux and OS X) and on Microsoft Windows. It depends on the libevent library.

memcache_cent

 

Step 1clean-up yum:
As a matter of best practice we’ll update our packages:
Then installing PHP Memcached extension and related packages is now as simple as running just one command:
Step 2Verify Installation

Restart memcached and httpd:

Use the following command to view information on the installed PHP modules:

 

I hope you understand very well How to Install the Memcached PHP Extension on CentOS 7.

If you have any query regarding our tutorial How to Install the Memcached PHP Extension on CentOS 7 then you can comment.

 

About the Author: Sanjeev Kumar

Experienced PHP Web Developer and founder of www.codemarts.com. Expert in Codeigniter (MVC), WordPress, JSON, jQuery & HTML5.

1 Comment+ Add Comment

Leave a comment