php.net |  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chealer at gmail dot com
New email:
PHP Version: OS:

 

 [2014-12-30 03:41 UTC] chealer at gmail dot com
Description:
------------
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.

        Note:

        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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-28 18:31 UTC] pasindu@php.net
-Assigned To: +Assigned To: pasindu
 [2017-01-28 12:50 UTC] cmb@php.net
-Type: Bug +Type: Documentation Problem -Package: Documentation problem +Package: *Configuration Issues
 [2017-10-24 06:28 UTC] kalle@php.net
-Status: Assigned +Status: Open -Assigned To: pasindu +Assigned To:
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu May 23 21:01:26 2019 UTC