Aged thirteen, Meghni joined the famous academy "Le Centre Technique National Fernand Sastre", commonly referred to as Clairefontaine. He decided to leave the academy at the age of 16 and signed for Cannes, where he only remained for one season and opted to move on to Bologna, for whom he made his professional debut on 20 July 2002, against FC BATE in the Intertoto Cup, coming on as a substitute. With Bologna, he came runner-up in the 2002 Intertoto Cup losing out to Fulham on aggregate 5–3. In the summer of 2007, Meghni signed with Lazio on a co-ownership deal for €1.75 million, with the club further paying Bologna an additional €1.75 million for full ownership, in the summer of 2008. He won the 2008–09 Coppa Italia, as well as the 2009 Supercoppa Italiana whilst playing for Lazio.