Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.