This will setup memcached to allow connections from localhost (

  1. sudo vim /etc/sysconfig/memcached
    • PORT=”11211″
    • USER=”memcached”
    • MAXCONN=”1024″
    • CACHESIZE=”512″
    • OPTIONS=”-l″
  2. I had to turn selinux off to allow httpd scripts to connect to the network, i think there might be a better way of doing this but i’m not sure yet.
    • sudo setenforce 0