【发布时间】:2019-11-07 13:32:46
【问题描述】:
我使用 PHP 7.3:
PHP Version 7.3.11-1+ubuntu18.04.1+deb.sury.org+1
Server API FPM/FastCGI
而且我需要为不同的虚拟主机(应用程序)设置不同的 sendmail 配置。
我尝试使用.user.ini文件配置PHP参数:
sendmail_from="user@domain.com"
sendmail_path="/usr/bin/agent -c profile1"
如果我使用 PHP-FPM,如何为不同的虚拟主机/应用程序配置不同的 sendmail_path 参数?
【问题讨论】: