I buy the iphone5 from France and I go Egypt and I installed a SIM card but the iPhone tell me that the activation failed I rellay donot now what I do
It sounds like the iPhone is still locked to the carrier in France. You will need to talk them about unlocking it.
Where did you buy the iPhone in France at an Apple Retail Store ( owned by Apple ) ?
Sounds like the iPhone is locked to a wireless carrier in France.
You will have to contact that carrier to see if they offer unlocking
and if you qualify.
What is the exact wording of the error message you receive when
you try to activate the iPhone with your sim from Egypt?
Retrieving data ...