Two students have lost their lives and a further two people were wounded in a shooting at a school in the Philippines.

The alleged gunman, one of the deceased, carried out the attack at school in Zamboanga City in the southern Philippines on Tuesday, August 18.

The city's mayor Khymer Adan Olaso revealed that the suspect apparently wore a body camera to livestream the attack at the high school on the Ateneo de Zamboanga University campus.

A group of individuals is gathered outside a building, waiting in line at a metal gate with a yellow barrier. The building featu

Mayor Olaso wrote on Facebook: "Good day all classes at Ateneo de Zamboanga will be suspended efective today in all Level."

He also told radio station DZMM that the shooter "managed to enter carrying a high-powered firearm and a .45 calibre pistol."

"In the video, we see that he first shot at the teacher who was sitting at a table," Mr Olaso said, referencing a video being circulated by local media.

"It seems he missed, then moved to another room ... he shot another student there, the one who fell. It seems two others were also injured, probably before he killed himself."

An image depicting a modern architectural structure, prominently displaying a sign that reads

A different high school shooting occurred in the central region just two months prior, claiming the lives of three pupils and leaving 20 others wounded.

The Philippines maintains relatively strict gun ownership laws, which include background checks and psychological evaluation requirements.

Illegal firearms continue to circulate, however.