add validator for apc max cache size