Catalyzes strongly the dephosphorylation of 6-phosphogluconate (6P-Glu) and slightly the dephosphorylation of dihydroxyacetone phosphate (DHAP) and phosphoenolpyruvate (PEP). Also hydrolyzes both purines (GMP and IMP) and pyrimidines as secondary substrates. Magnesium. Can also use other divalent metal cations as manganese, cobalt or zinc. Optimum pH is between 6 and 7.5. Belongs to the HAD-like hydrolase superfamily. CbbY/CbbZ/Gph/YieH family.