Doc #53420 [Opn->Ver]: mail.log is poorly documented
| From: | philip@php.net | Date: | Sat, 27 Nov 2010 17:11:58 +0000 |
| Subject: | Doc #53420 [Opn->Ver]: mail.log is poorly documented | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-5590@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53420&edit=1
ID: 53420
Updated by: philip@php.net
Reported by: tom at whyscream dot net
Summary: mail.log is poorly documented
-Status: Open
+Status: Verified
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Agreed, and the php.ini-* files should also be updated before this bug
is closed.
Previous Comments:
------------------------------------------------------------------------
[2010-11-27 16:35:19] tom at whyscream dot net
Description:
------------
Based upon the documentation in php.ini and documentation [1], I set
mail.log in php.ini to the boolean '1', and expected it to send logging
output to wherever error_log points to. This caused unexpected errors
like "Warning: mail(1): failed to open stream: Permission denied in
<script>"
It cost me [2], and others too [3], some time to realize that mail.log
expects a path to the logfile it needs to write, and no boolean.
Please, add some more detail to the documentation of the parameter
mail.log
[1] http://php.net/manual/en/mail.configuration.php
[2] http://news.php.net/php.general/309710
[3]
http://stackoverflow.com/questions/1906403/mail-failed-to-open-stream-permission-denied
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53420&edit=1