Install memcached on CentOS 7
To install memcached on CentOS 7, run
1 |
yum -y install memcached |
Set memcached to start on boot
1 |
systemctl enable memcached |
Start memcached with
1 |
systemctl start memcached |
Installing PHP Module
You need remi repository installed, that provide memcached module for all versions of php they support.
For PHP 5.6, run
1 |
yum install php-memcache |
Now phpinfo() will show
See memcached