RTFM
http://us2.php.net/manual/en/function.memcache-connect.php
See "Return Values"
Brian.
--------
http://brian.moonspot.net/
On 8/17/09 5:24 AM, johnny wrote:
I'm a newby and just found out that try - catch is not triggered from
memcache php calls.
Maybe there is a logic but the point is that I got error also with:
$mc = new Memcache;
$mc->connect('localhost', 11211) or die("Could not connect");
That means my users will see a broken application - in case memcached
server is down.
This is not acceptable, there gotta be one way. How do you manage the
thing?
Thanks a lot