Involved in the production of volatile organic compounds (VOCs) (PubMed:24815009). Catalyzes an aldol-like condensation reaction between phosphoenolpyruvate (PEP) and D-erythrose 4-phosphate (E4P) to generate 3-deoxy-D-arabino-heptulosonate 7-phosphate (DAH7P) and inorganic phosphate (By similarity). D-erythrose 4-phosphate + H2O + phosphoenolpyruvate = 7-phospho-2-dehydro-3-deoxy-D-arabino-heptonate + phosphate Binds 1 divalent metal cation per subunit that could be manganese. Metabolic intermediate biosynthesis; chorismate biosynthesis; chorismate from D-erythrose 4-phosphate and phosphoenolpyruvate: step 1/7. Homodimer. Mostly expressed in leaves and stems, and, to a lower extent, in roots, stigmas, anthers, petal tubes, petal limbs and sepals. During floral development, expressed constitutively. Normal floral volatile benzenoids and phenylpropanoids (FVBP) emission. Belongs to the class-II DAHP synthase family.