|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #66574 Allow multiple paths in php_ini_scanned_path
Submitted: 2014-01-25 08:25 UTC Modified: 2014-01-29 09:37 UTC
From: Assigned: remi
Status: Closed Package: PHP options/info functions
PHP Version: 5.5.8 OS: GNU/Linux
Private report: No CVE-ID:
 [2014-01-25 08:25 UTC]
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


iniscan-multipath-full.patch (last revision 2014-01-25 08:26 UTC) by
iniscan-multipath-strip.patch (last revision 2014-01-25 08:26 UTC) by

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-01-25 08:26 UTC]
The following patch has been added/updated:

Patch Name: iniscan-multipath-strip.patch
Revision:   1390638364
 [2014-01-25 08:26 UTC]
The following patch has been added/updated:

Patch Name: iniscan-multipath-full.patch
Revision:   1390638384
 [2014-01-25 08:27 UTC]
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-29 09:37 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: remi
 [2014-01-29 09:37 UTC]
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

 For Windows:
Thank you for the report, and for helping us make PHP better.

Fixed in;a=commitdiff;h=da84f3af751aa9bbf76bc22924a488f981d47088

Will be in 5.5.10
PHP Copyright © 2001-2015 The PHP Group
All rights reserved.
Last updated: Fri May 29 16:02:36 2015 UTC