resolve segfault issue, weird conflict between catching pdo exceptions and having memcache.so enabled.