Fix for Memcached cache engine (used some apc functions instead)