Child coughing up green phlegm mean?

Possible infection. May be a bacterial or a viral infection. Best to see your physician for exact diagnosis and appropriate treatment.