diff --git a/HowtoPHP.md b/HowtoPHP.md index 13de54c8..91f95bc8 100644 --- a/HowtoPHP.md +++ b/HowtoPHP.md @@ -730,3 +730,8 @@ Il faut configurer la variable *sendmail_path* à /bin/true comme ceci, par exem php_admin_value sendmail_path "/bin/true -t -i -f www-foo" ~~~ +* Désactiver la fonction mail() + +~~~ +php_admin_value sendmail_path "/bin/true" +~~~