enable phpsuexec. to send mails from php scripts
enable phpsuexec. to send mails from php scripts
Hello,
When disabling NOBODY from sending emails in:
WHM>>Tweak Settings>>Prevent the user 'nobody' from sending out mail to remote addresses (php and cgi scripts generally run as nobody if you are not using phpsuexec and suexec respectively.)
when I disabled it most users complained + they are unable to email their clients especially forum newsletter.
The php mail function sends emails to localhost email accounts only, but it doesn't send any single email out side the server.
the question is: how to keep NOBODY blocked and bring PHP Mail(); to work?.
thank you ecwebtechie,
but where/how to install phpsuexec, when i install it, all php file should be modified and add: #!/usr/local/bin/php in top line?.
regards
maaking
phpsuexec is installed through WHM > Software > Update Apache, or via /scripts/easyapache in SSH.