During a test rebuild of updated rhel packages in mock it appears that the php package is missing a BuildRequire on sendmail-devel. configure output: checking for sendmail... no The resulting build fails with "Fatal error: Call to undefined function: mail()" This problem seems to be also valid for RHEL4, FC4, RawHide et al.
This is fixed in current errata packages. Thanks for the report.