Catalysis of the reaction: 1-deoxy-D-xylulose 5-phosphate + 3-amino-2-oxopropyl phosphate = 2 H(2)O + H(+) + phosphate + pyridoxine 5'-phosphate.