Doc->Bug #77893 [Opn]: Documentation for `-n` option is incomplete
| From: | cmb@php.net | Date: | Wed, 17 Apr 2019 10:44:02 +0000 |
| Subject: | Doc->Bug #77893 [Opn]: Documentation for `-n` option is incomplete | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-220505@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77893&edit=1
ID: 77893
Updated by: cmb@php.net
Reported by: srspam+phpnet at icloud dot com
Summary: Documentation for
-n option is incomplete
Status: Open
-Type: Documentation Problem
+Type: Bug
-Package: Documentation problem
+Package: *General Issues
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
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>
Previous Comments:
------------------------------------------------------------------------
[2019-04-15 09:36:46] 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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77893&edit=1