bug fix to solve fatal error: apc_exist() does not exist