Catalysis of the reaction: D-erythrose 4-phosphate + H2O + phosphoenolpyruvate = 7-phospho-2-dehydro-3-deoxy-D-arabino-heptonate + phosphate.
3-deoxy-D-arabino-heptolosonate-7-phosphate synthetase activity