The present invention relates to methods of inhibiting shikimate pathway, comprising administering to a subject a pharmaceutically acceptable composition comprising a compound having a formula:or pharmaceutically acceptable salts thereof. The present invention also provides a synergistic antibacterial composition containing compound