php mail() iGENUS 郁闷啊~~

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即可

One Comment

  1. prada Leather tote

    老管网络日志 | funpower's blog » Blog Archive » php mail() iGENUS 郁闷啊~~

Leave a Reply