What is the best/safest way to treat enterococcus: chloramphenicol or vancomycin?

Neither. When enterococcal infections require treatment, the best treatment is Ampicillin although in endocarditis the treatment is more complex. Chloramphenicol is almost never used anymore because of the small but potentially fatal risk of reversible aplastic anemia.