An on-chip linearization method for phase modulated microwave photonic link based on integrated ring resonators is proposed. By properly tailoring the phase and amplitude of optical carrier band and second-order sidebands, the third-order intermodulation distortion (IMD3) components can be suppressed. Theoretical analysis are taken and a proof-of-concept experiment is carried out. Experimental results demonstrate that IMD3 is suppressed by 21.7 dB. When the noise of the link is properly optimized, an SFDR of 112.7 dB·Hz2/3 can be achieved. This opens the possibility of integrating linearization into a functional photonic integrated circuit.