php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77893 Documentation for `-n` option is incomplete
Submitted: 2019-04-15 09:36 UTC Modified: 2019-04-17 10:50 UTC
From: srspam+phpnet at icloud dot com Assigned:
Status: Open Package: *General 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: srspam+phpnet at icloud dot com
New email:
PHP Version: OS:

 

 [2019-04-15 09:36 UTC] srspam+phpnet at icloud dot com
Description:
------------
The `-n` option for the CLI and FPM SAPI's is documented as simply:

    No php.ini file will be used

When used alone, this is correct, however I believe the true functionality would be better represented by a statement similar to the following:

    No default php.ini or additional configuration files (set by the --with-config-file-scan-dir configure option at build time or the PHP_INI_SCAN_DIR environment variable) will be loaded. Configuration files specified by the `-c` option *will* still be loaded.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-04-17 10:44 UTC] cmb@php.net
-Type: Documentation Problem +Type: Bug -Package: Documentation problem +Package: *General Issues
 [2019-04-17 10:44 UTC] cmb@php.net
Apparently, you are referring to the output of `php -h` shown in
the manual[1].  While this is not quite up to date, it certainly
wouldn't make sense to modify it arbitrarily.  Instead the output
of `php -h` should be changed in the first place.

[1] <https://www.php.net/manual/en/features.commandline.options.php>
 [2019-04-17 10:50 UTC] srspam+phpnet at icloud dot com
Apologies for the incorrect category/type - I guess I assumed information in the manpage/`php -h` output (which is where I saw it first, not the online docs) came under 'documentation'.

Thanks for looking at this!
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 13:01:52 2019 UTC