You could take the definitions that a phrase is anything that acts like a lexical units, and a compound is a compound is necessarily an inseparable unit with a meaning other than the obvious compositional one (...as that would often make it a phrase, or just two words that happen to be next to each other).