check if apache functions exists