top of page

No package php-pecl-memcached available.

  • Writer: Qasim Zee
    Qasim Zee
  • Dec 15, 2014
  • 1 min read

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:

  • Open yum.conf that might be available at /etc/yum.conf

  • Find the line starting with exclude=

  • 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:

Shell

yum install php php-pecl-memcached

1

yum

install

php

php

-

pecl

-

memcached

It was ok.

Recent Posts

See All
Centos, Varnish, NGINX, Drupal

As an experiment this week I decided to change the web server of a site to NGINX, the existing web server was Apache.

 
 
 

Comments


bottom of page