|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68689 log_errors description is misleading
Submitted: 2014-12-30 03:41 UTC Modified: 2017-10-24 06:28 UTC
From: chealer at gmail dot com Assigned:
Status: Open Package: *Configuration Issues
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-12-30 03:41 UTC] chealer at gmail dot com
The description of log_errors is:
 log_errors boolean

    Tells whether script error messages should be logged to the server's error log or error_log. This option is thus server-specific.


        You're strongly advised to use error logging in place of error displaying on production web sites.

As discussed in #66567, error_log is the directive allowing to choose how to log. log_errors is just a boolean determining whether PHP should log errors or not.

The first sentence is not exactly wrong, but unclear. The following sentence ("This option is thus server-specific.") belongs to error_log's description, not here.

I suggest replacing the whole English paragraph with just:
Tells whether script error messages should be logged.

The only problem with that is it doesn't refer to error_log, about which the reader will naturally want to learn next.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-28 18:31 UTC]
-Assigned To: +Assigned To: pasindu
 [2017-01-28 12:50 UTC]
-Type: Bug +Type: Documentation Problem -Package: Documentation problem +Package: *Configuration Issues
 [2017-10-24 06:28 UTC]
-Status: Assigned +Status: Open -Assigned To: pasindu +Assigned To:
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 15 02:01:28 2024 UTC