A pharmaceutical composition, including: at least one β-lactam antibiotic, at least one β-lactamase inhibitor, and at least one buffer component. The composition can be formulated with at least one of aminoglycoside antibiotics into solution for controlling microbial infection in a container.