This occured on Windows right? If so then its because localhost isnt resolved to 127.0.0.1 by PHP if localhost is defined to both an IPv4 and IPv6 alias in the host file ;-)
Jason 2011-10-18 06:29:02
Thanks,Kalle..I've connected the server by localhost without error..Just modify the the hosts file.
frivgames 2011-11-25 12:21:40
class main extends Memcache{ function main(){ $this->connect('localhost',11211); }
}
www.tonitech.com的站长 2012-09-18 11:38:19
You guys could connect to the server by modifying the host? I need to have a try. But I still feel very puzzle why there is a problem like that.
2009-06-09 16:30:04
It works! Thanks a lot
2010-06-06 02:08:52
This occured on Windows right? If so then its because localhost isnt resolved to 127.0.0.1 by PHP if localhost is defined to both an IPv4 and IPv6 alias in the host file ;-)
2011-10-18 06:29:02
Thanks,Kalle..I've connected the server by localhost without error..Just modify the the hosts file.
2011-11-25 12:21:40
class main extends Memcache{
function main(){
$this->connect('localhost',11211);
}
}
2012-09-18 11:38:19
You guys could connect to the server by modifying the host? I need to have a try. But I still feel very puzzle why there is a problem like that.