Hello i need to add the below line to all php.ini files for all websites to catch spam. mail.log = /var/log/mail.form but if i added to /etc/php5/apache2/php.ini it does not affect all websites, when i did a test by adding the above line to my personal site under the options tab under sites for php snippets, it worked... so now i need this to work for all sites to catch much spam going out.. What should i do? Thanks
Have you tried adding it to /etc/php5/cgi/php.ini (or the fpm php.ini if you use that mode for websites)? The php.ini of the pages are generated from those ini files normally.