|  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 (profile)
Status: Closed Package: PHP options/info functions
PHP Version: 5.5.8 OS: GNU/Linux
Private report: No CVE-ID: None
 [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
 [2015-06-17 20:50 UTC] dol+php at cyon dot ch
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:
 [2015-06-18 05:27 UTC]
Sorry, but PHP 5.4 is "security" only (and will be EOL in a few weeks).
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 22 23:01:30 2024 UTC