Photoluminescence measurements at different temperatures have been performed to investigate the effects of confinement on the electron-phonon interaction in GaAs/AlGaAs quantum wells (QWs). A series of samples with different well widths in the range from 150 up to 750 A was analyzed. Using a fitting procedure based on the Passler-p model to describe the temperature dependence of the exciton recombination energy, we determined a fit parameter which is related to the strength of the electron-phonon interaction. On the basis of the behavior of this fit parameter as a function of the well width thickness of the samples investigated, we verified that effects of confinement on the exciton recombination energy are still present in QWs with well widths as large as 450 angstrom. Our findings also show that the electron-phonon interaction is three times stronger in GaAs bulk material than in Al(0.18)Ga(0.82)As/GaAs QWs.