Home >Backend Development >PHP Tutorial >php mail() iGENUS 郁闷啊~~

php mail() iGENUS 郁闷啊~~

WBOY
WBOYOriginal
2016-06-23 14:33:18883browse

C.igenus发邮件时出现528错误,其实这是php在编译过程中找不到/usr/sbin/sendmail文件造成的,qmail使用/var/qmail/bin/sendmail发信。解决如下:
a.添加链接
# ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
b.停止apache运行
c.重新编译php即可

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:dos 下运行phpNext article:PHP MySQL on Centos 5.x