fix fatal error when APC is not enabled, check function exists apc_clear_cache