我在rackspace雲網站上運行php應用程序(Yii)。我在運行的rackspace雲服務器上安裝了一個memcached服務器。這個問題,我無法訪問memcache。我收到以下錯誤在雲網站中的PHP應用程序無法訪問在雲服務器上運行的memcached - rackspace
Memcache::get() [<a href='memcache.get'>memcache.get</a>]: Server xx.xx.xxx.xxx (tcp 11211) failed with: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (10060)
netstat -an | grep ":11211"
tcp 0 0 0.0.0.0:11211 0.0.0.0:* LISTEN
tcp 0 0 :::11211 :::* LISTEN
udp 0 0 0.0.0.0:11211 0.0.0.0:*
udp 0 0 :::11211 :::*
請找到main.php
'cache'=>array(
'class'=>'system.caching.CMemCache',
'servers'=>array(
array('host'=>' xx.xx.xxx.xxx', 'port'=>11211, 'weight'=>60),
),
),
緩存配置如何使它工作?
感謝您的回覆。我安裝了centOS 6發行版。我會通過鏈接回到你身邊。我曾與支持團隊聊天,但解決方案沒有幫助。 – Suriya