A wildfire near the French Riviera killed two people and was burning out of control in the forests of the popular region, fuelled by wind and drought.

Over 1,100 firefighters were battling the flames and thousands of tourists and locals were evacuated to safer areas.

The fire started on Monday evening 24 miles inland from the coastal resort of Saint-Tropez.

Whipped up by powerful seasonal winds coming off the Mediterranean Sea, the fire had burned 7,000 hectares of forest by Wednesday morning, local officials said.

The prefect of the Var region, Evence Richard, told reporters that two people were killed.

The local prosecutor said the bodies were found in a home that burned down near the town of Grimaud.

An investigation has been opened to formally identify the victims.

The French newspaper Var-Matin identified one victim as a man.

Holiday makers enjoy a bath in the Mediterranean Sea while a water-dumping aircraft fills its tanks with water to fight wildfires, in the bay of Sainte-Maxime, southern France (Daniel Cole/AP)
Holiday makers enjoy a bath in the Mediterranean Sea while a water-dumping aircraft fills its tanks with water to fight wildfires, in the bay of Sainte-Maxime, southern France (Daniel Cole/AP)

At least 27 people, including five firefighters, have suffered smoke inhalation or minor injuries from the blaze, the prefecture of the Var region said.

Authorities closed a road north of the fire area on Wednesday afternoon due to the thick smoke.

The wildfire has forced more than 7,000 people to flee homes, campgrounds and hotels, sending them to sleep in temporary shelters, according to the prefecture.

Among them were over 1,000 people who stayed around a gym in the seaside resort of Bormes-Les-Mimosas where authorities supplied food and water.

Vassili Bartoletti and his family, who are from northeastern France, were evacuated early Tuesday from a campground where they had been vacationing.

“Around midnight, someone knocked at our door and told us to take our belongings and leave.

“At the end of the alley, we could see the red flames,” he said.

“So we left hastily.”

A water-dumping aircraft dumps water on a wildfire near Le Luc, southern France (Daniel Cole/AP)
A water-dumping aircraft dumps water on a wildfire near Le Luc, southern France (Daniel Cole/AP)

Mr Bartoletti said his six-year-old son was “very anxious” about the fire.

“I showed him the map.

“I showed him we were far away, that we’ve been moved to a safe place,” in Bormes-Les-Mimosas, he said.

Last month, while the family was on vacation on the Italian island of Sardinia, a major blaze there for three days threatened the town where they had rented a house.

They did not have to evacuate but endured smoke in the air and saw water-dumping planes and helicopters going back and forth repeatedly.

French President Emmanuel Macron, who has been vacationing in a nearby coastal fortress, visited the fire zone and praised the firefighters for their work.

French officials warned that the fire risk would remain very high through Wednesday because of hot, dry weather.

Temperatures have reached 40Cs (104F) in recent days.

Wildfires have swept across the Mediterranean region in recent weeks, leaving areas in Greece, Turkey, Italy, Algeria and Spain in smouldering ruins.

Evacuated campers rest in a gymnasium in Bormes-les-Mimosas, southern France (Daniel Cole/AP)
Evacuated campers rest in a gymnasium in Bormes-les-Mimosas, southern France (Daniel Cole/AP)

In Greece on Wednesday, a major wildfire northwest of Athens, the capital, decimated large tracts of pine forest for a third straight day.

In neighbouring Albania, hundreds of hectares (thousand of acres) have burned over the last month.

Police reported on Wednesday that a former deputy minister has been arrested for arson.

In Spain, authorities in the central region of Castilla y Leon said firefighters had established a perimeter around a blaze that has consumed at least 12,000 hectares this week.

A fire on the Canary Islands was also brought under control after singeing 300 hectares of farmland.

While the Mediterranean is known for its sunny, hot summers, scientists voice little doubt that climate change from the burning of coal, oil and natural gas is driving extreme events such as heat waves, droughts and wildfires.

Such hardships are likely to happen more frequently as the Earth continues to warm, they say.