Since upgrading to PHP7 every single script on my server using the PHP mail function no longer works :-(
At the same time, I also upgraded from Apache 2.2 to 2.4, and I have a feeling this is possibly where the problem lies.
My php.ini file contains:
sendmail_path = /usr/sbin/sendmail -t -I
Sendmail does send emails if I try from the command line, so I know it is working. I have found an error that I believe is possibly related to Apache and permissions in the exim_paniclog:
unable to set gid=995 or uid=0 (euid=0): forcing real = effective
I hope someone may have come across this problem and could possibly shed some light on it for me. Thanks in advance!