Greek authorities have declared a state of emergency in the country's third-largest city because of raging wildfires nearby, and hundreds of students and residents have fled their homes.

Authorities said the fires were burning on three fronts, coming within six miles (10km) of the western city of Patras, a port of 220,000 people. Strong winds and soaring temperatures drove the wildfires, which sent smoke over the city.

Several dozen residents in the village of Ano Kastritsi were told to leave their homes, along with several hundred students and staff at a Patras University campus, regional officials told the Associated Press. A nearby university hospital was also placed on alert in case an evacuation was needed.

Nine planes and a helicopter were involved in the firefighting effort at Ano Kastritsi and at Argyra, to the east, dumping water on burning pine forests.

Apostolos Katsifaras, a regional governor for western Greece, said evacuation orders had been issued for two more villages in the rugged area.

"The conditions are very tough. We are using everything we have against the fire," Katsifaras said.

The state of emergency allows authorities to call in Greece's military.

Forest and brush fires are common in Greece's hot, dry summer months. More than 60 people were killed when forest fires raged across southern Greece in 2007.