Bug #67389 [Com]: document PHP_INI_SCAN_DIR
| From: | aneece at gmail dot com | Date: | Wed, 25 May 2016 22:29:17 +0000 |
| Subject: | Bug #67389 [Com]: document PHP_INI_SCAN_DIR | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-201274@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67389&edit=1
ID: 67389
Comment by: aneece at gmail dot com
Reported by: tyrael@php.net
Summary: document PHP_INI_SCAN_DIR
Status: Open
Type: Bug
Package: *Configuration Issues
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
While the general behavior is indeed documented at that link
(http://php.net/manual/en/configuration.file.php#configuration.file.scan), it does not mention that
the capability to handle multiple directories is only available from 5.5.10, as tyrael requested.
Instead, the text makes it sound like any version after PHP 5.2.0 can accomplish this, since that is
the only time a version is mentioned in that block. It would be great if that page could get a
slight update. Or you could even just add it to the Changelog section of that page.
Either way, it'd be a big help. Thanks!
Previous Comments:
------------------------------------------------------------------------
[2016-02-21 16:05:42] dzuelke at gmail dot com
Looks like this is already documented at http://php.net/manual/en/configuration.file.php#configuration.file.scan
------------------------------------------------------------------------
[2016-02-15 01:33:23] dzuelke at gmail dot com
Also worth documenting: the variable can contain an empty part (e.g.
:/extra/dir or
/extra/dir:), in which case the default value will be used.
This can then be used to load a bunch of additional INI files at runtime, while preserving all
globally configured INIs.
------------------------------------------------------------------------
[2014-06-05 18:03:56] tyrael@php.net
Description:
------------
we should document that the additionally loaded ini files directory(which can be set via
--with-config-file-scan-dir when compiling) can be changed by the PHP_INI_SCAN_DIR environment
variable (maybe mention the stuff like SetEnv PHP_INI_SCAN_DIR /tmp won't work, but exporting
the PHP_INI_SCAN_DIR env var from the apache startup script will).
we should also mention that listing multiple directories is supported since 5.5.10:
https://bugs.php.net/bug.php?id=66574
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67389&edit=1