|
Question : PHP "sh: /usr/sbin/sendmail: Permission denied" when calling mail()
|
|
When I try to use PHP's mail() function to send an email I get the following message in the error_log
sh: /usr/sbin/sendmail: Permission denied
I'm not sure what I need to do to give PHP permission to use sendmail.
phpinfo if required: http://194.66.199.247/phpinfo.php
|
Answer : PHP "sh: /usr/sbin/sendmail: Permission denied" when calling mail()
|
|
Hi All,
I had to get an admin in to fix this issue in the end, he said:
"SELinux was blocking apache access to sendmail".
Not sure if that means anything to anyone, but thank you all for your help.
Brad
|
|
|