我使用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
参数?