Police said several buildings had collapsed. Videos on social media also showed houses reduced to rubble, and there were reports of power outages. People were urged to move to higher ground.
Along some parts of the Philippine coast, there is a risk of tsunami waves of up to three meters, according to the US Pacific Tsunami Warning Center (PTWC).
There is a risk of one-meter-high waves in parts of Indonesia and Malaysia. Indonesia has issued a tsunami warning for northern parts of the country, where people are also being urged to evacuate to higher ground. The situation is currently described as under control, but residents in Indonesia could feel the quake. Japan has issued a tsunami warning for its Pacific coast after the quake, and waves there could also be one meter high.
There is a risk of minor tsunami waves in places including Palau, Taiwan and Papua New Guinea.
The quake struck at a depth of 35 kilometers, according to the USGS. An aftershock with a magnitude of 6.1 was also recorded at a depth of 67 kilometers.
The Philippines is located along the so-called Ring of Fire, an area of intense seismic and volcanic activity.





