From 4d9584007f692cfe6eacd93846025d89ab75fcee Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Mon, 11 Jun 2018 15:33:23 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20pour=20d=C3=A9sactiver=20fonction=20mai?= =?UTF-8?q?l()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoPHP.md | 5 +++++ 1 file changed, 5 insertions(+) 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" +~~~