Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have centos 5.3 and I just installated memcached 1.4.2. I can telnet it fine and do stats, etc., but when I try to connect to it over php I get an error that it can't connect.

It was SELinux.

share|improve this question
Could you post some source code or the error? – mattbasta Nov 8 '09 at 3:49

It would help if you gave the exact wording/screenshot/log-lines. I'm gonna bet its that you don't have the php memcache client library installed. Try this:

yum install php-pecl-memcache

share|improve this answer
I do have it and i see memcached in my php info. – Jack Oct 24 '09 at 16:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.