A magnitude 5.7 earthquake struck 302 km southeast of the city of General Santos, Mindanao island, Philippines, at a depth of 54 km early on Friday, the U.S. Geological Survey said, Reuters reports.