The flight from Los Angeles to the Philippines was forced to make an emergency landing shortly after takeoff as flames shot out of an engine.