php sendmail 安装配置

# 安装 sendmail
yum install sendmail

# 启动sendmail
systemctl start sendmail

# 配置php.ini
# 找到 sendmail_path
sendmail_path = /usr/sbin/sendmail -t -i

# 保存php.ini 重启php
Talk is cheap, show me the code.
原文地址:https://www.cnblogs.com/cidgur/p/8058455.html