Phenylpyrimidines in which R1 is an alkyl or phenyl group are obtained e.g. by condensation of a phenylamidine with an alkyl ester of an acetoacetic acid: ##STR4## Here too the --OH group can be replaced in known manner by a halogen atom, which in turn can be replaced by an alcohol, a thiol or an amine.