Req #66574 [Com]: Allow multiple paths in php_ini_scanned_path
| From: | dol+php at cyon dot ch | Date: | Wed, 17 Jun 2015 20:50:10 +0000 |
| Subject: | Req #66574 [Com]: Allow multiple paths in php_ini_scanned_path | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-193629@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66574&edit=1
ID: 66574
Comment by: dol+php at cyon dot ch
Reported by: remi@php.net
Summary: Allow multiple paths in php_ini_scanned_path
Status: Closed
Type: Feature/Change Request
Package: PHP options/info functions
Operating System: GNU/Linux
PHP Version: 5.5.8
Assigned To: remi
Block user comment: N
Private report: N
New Comment:
Dear Remi
Is it possible to add this patch also to the PHP 5.4 version. We had to apply the patch our self to
get the same behavior as PHP 5.5 and 5.6.
btw: Nice work on this. We were able to streamline our setup with this patch. :thumbsup:
Previous Comments:
------------------------------------------------------------------------
[2014-01-29 09:37:14] remi@php.net
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Fixed in http://git.php.net/?p=php-src.git;a=commitdiff;h=da84f3af751aa9bbf76bc22924a488f981d47088
Will be in 5.5.10
------------------------------------------------------------------------
[2014-01-25 08:27:39] remi@php.net
iniscan-multipath-full.patch is the patch against php 5.5.9RC1
iniscan-multipath-strip.patch is a reduced version (diff -bu), more readable to check what have
really changed.
------------------------------------------------------------------------
[2014-01-25 08:26:24] remi@php.net
The following patch has been added/updated:
Patch Name: iniscan-multipath-full.patch
Revision: 1390638384
URL: https://bugs.php.net/patch-display.php?bug=66574&patch=iniscan-multipath-full.patch&revision=1390638384
------------------------------------------------------------------------
[2014-01-25 08:26:04] remi@php.net
The following patch has been added/updated:
Patch Name: iniscan-multipath-strip.patch
Revision: 1390638364
URL: https://bugs.php.net/patch-display.php?bug=66574&patch=iniscan-multipath-strip.patch&revision=1390638364
------------------------------------------------------------------------
[2014-01-25 08:25:31] remi@php.net
Description:
------------
php_ini_scanned_path, from --with-config-file-scan-dir option or from PHP_INI_SCAN_DIR environment
variable allow a single path.
In some case it could be useful to allow multiple.
In the proposed patch, multiple paths are allow, using syntax inspired from Unix MANPATH (:
separated list, enmpty string for builtin value).
For example, this allow to use:
PHP_INI_SCAN_DIR=:/myproject/php.d php
PHP_INI_SCAN_DIR=/myproject/php.d: php
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66574&edit=1