Spread an even layer of solvent PVC cement on the inside of the fitting and outside of the pipe. Pro tip: To keep excess solvent cement from being pushed into water piping, don't apply too much to ...