I am trying to work out where on earth this PHP ini setting is being made (below script is the only output on the script).
ini_get()
echo ini_get('sendmail_path');
// /usr/sbin/sendmail -t -i
phpinfo()
Loaded Configuration File: /etc/php/7.0/apache2/php.ini
/etc/php/7.0/apache2/php.ini
sendmail_path = "sudo /usr/sbin/sendmail -t -i -X /var/log/mail.log"
.htaccess
php_value sendmail_path 'sendmail -t -i -X /var/log/mail.log'
So how on earth is this setting being set?? Is there a way to see where the setting is coming from?