Formal:
* Amusez-vous bien ! (This is the most common and versatile phrase.)
* Passez un agréable séjour ! (This literally means "have a pleasant stay.")
Informal:
* Profite bien ! (This means "enjoy yourself well!")
* Bonnes vacances ! (This means "good holidays!")
* S'amuser! (This is a more casual way to say "have fun!")
Other options:
* Bonne chance ! (This means "good luck!" and can be used in situations like a job interview or a competition.)
* Bon courage ! (This means "good courage!" and can be used in situations where someone is facing a challenge.)
The best option for you will depend on the specific situation and your relationship with the person you are speaking to.