Catalyzes the hydrolysis of sugar phosphate to sugar and inorganic phosphate. Has a wide substrate specificity catalyzing the hydrolysis of ribose-5-phosphate, glucose-6-phosphate, fructose-1-phosphate, acetyl-phosphate, glycerol-1-phosphate, glycerol-2-phosphate, 2-deoxy-glucose-6-phosphate, mannose-6-phosphate and fructose-6-phosphate. Appears to have a low level of phosphotransferase activity using monophosphates as the phosphate donor. sugar phosphate + H2O = sugar + phosphate. Magnesium. Can also use other divalent metal cations as manganese, cobalt or zinc. Glucose-6-phosphate is also a good substrate with a relative activity of 62.5% versus the activity with ribose-5-phosphate. Homodimer. Regulated by the cAMP receptor protein crp. Belongs to the HAD-like hydrolase superfamily. Cof family. SupH subfamily.