A major incident has been declared by emergency services with people being told to leave their homes due to a wildfire.