On Aug 17, 11:24 am, johnny <[email protected]> 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
This is nothing to do with memcache, but your PHP configuration.
See http://uk.php.net/manual/en/errorfunc.configuration.php#ini.display-errors
Jared