No package php-pecl-memcached available.
I was trying to install memcached on a centos 6.6 machine but when I run
yum install php php-pecl-memcached, I was getting the error “No package php-pecl-memcached available.” I resolved it using the following method:
yum.confthat might be available at
- Find the line starting with
- Remove “php” from that line. As it is preventing any package to install that was starting with “php”
- Save the file yum.conf.
Now run the following command again:
yum install php php-pecl-memcached
It was ok.