The measures come as the country battles scorching temperatures of more than 40C.