You should also check if APC is enable to reset the cache for php < 5.5 and call the correct method for php >= 5.5