A powerful 6.7-magnitude earthquake has struck of the Philippines.