A series of bangs echoed through the cabin after an engine fire shortly after takeoff.