Dear Maintainer,
When creating an .htaccess file with contents:
php_value mail.force_extra_parameters "-fname@xxxxxx.com"
It has no effect.
It can be confirmed by creating a php file in the same directory running phpinfo(), to see that the local value has not been set. Though setting other values with php_value in that same .htaccess file works without any issue.
However setting mail.force_extra_parameters with php_admin_value instead inside the vhost works:
php_admin_value mail.force_extra_parameters "-fname@xxxxxx.com"
I am trying to set this value in the .htaccess file at a directory level.
On the official PHP documentation, mail.force_extra_parameters should be PHP_INI_PERDIR, which means should be supported by .htaccess.
I also looked for special behavior that would restrict that option but haven't found any.
Hope it is clear. Please let me know if you need any more information.
Wadih