More than 1,500 firefighters have been battling the flames as the blaze forces thousands to evacuate.