diff --git a/defaults/main.yml b/defaults/main.yml index 6e818f6..4317068 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -13,4 +13,4 @@ php_webserver_daemon: "httpd" php_enable_php_fpm: false -sendmail_path: "/usr/sbin/sendmail -t -i" +php_sendmail_path: "/usr/sbin/sendmail -t -i" diff --git a/templates/php.ini.j2 b/templates/php.ini.j2 index e7c058c..cf01c6f 100644 --- a/templates/php.ini.j2 +++ b/templates/php.ini.j2 @@ -966,7 +966,7 @@ smtp_port = 25 ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path -sendmail_path = {{ sendmail_path }} +sendmail_path = {{ php_sendmail_path }} ; Force the addition of the specified parameters to be passed as extra parameters ; to the sendmail binary. These parameters will always replace the value of