Serious side effects of cephalexin and amoxicillin ... such as pills and liquids that are taken by mouth. Antibiotics like cephalexin and amoxicillin are taken to treat bacterial infections ...