I would like (or it seems I need) to add PHP setting mail.add_x_header = On. But there are umpteen php.ini files on my host, is it possible to add it in one place so it affects all PHP scripts running on host? If I have to script adding that to all php.ini files, does it matter where in the file that line is added, of if it appears twice?
Debian 9 Stretch is OS. I have additional PHP versions per https://www.howtoforge.com/tutorial...fig-3-from-debian-packages-on-debian-8-and-9/ so PHP versions 5.6 to 7.4 are available for websites. I think all websites have PHP mode PHP-FPM or PHP-FastCGI.
For PHP-FPM: /etc/php/X/fpm/php.ini for fcgi: /etc/php/X/cgi/php.ini X is the php version that you want to change. Adding the line at the end of the file should be fine. If it#s in there already, then I would just edit the existing line.
I turned all to On. Bash scripts to examine situation and change value posted at https://www.howtoforge.com/communit...change-php-ini-mail-add_x_header-value.85092/