Installing memcache on PHP 7.1


CentOS 6 (prerequisite)

# install webtatic repo
rpm -Uvh
# install memcache things
yum -y install yum-plugin-replace
yum -y install libmemcached
yum -y replace libmemcached --replace-with libmemcached10
yum -y install libmemcached10-devel.x86_64

CentOS 7 (prerequisite)

yum -y install libmemcached-devel


yum -y install git
cd ~
rm -rf php-memcached
git clone
cd php-memcached
git checkout php7
./configure --disable-memcached-sasl
make install

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.