French prosecutors said on Thursday they had opened a terrorism investigation into a recent attack on park rangers in northern Benin, in which a French national was among six people killed.