2014-01-27 91 views

回答

0

這通常意味着您的DNS resolution無法正常工作。 PHP無法獲取Memcache函數中使用的主機名的IP地址。

您的選項

  • 檢查/修復了DNS的查找,可以正確地完成。
  • 更改您的代碼,而不是use ip-addresses主機名

的例子

Memcache::connect("1.2.3.4");   // replace with correct ip 
Memcache::getServerStatus("1.2.3.4"); // --- '' --- 
// etc other functions using hostname