Req #66574 [NEW]: Allow multiple paths in php_ini_scanned_path

From: Date: Sat, 25 Jan 2014 08:25:32 +0000
Subject: Req #66574 [NEW]: Allow multiple paths in php_ini_scanned_path
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183992@lists.php.net to get a copy of this message
From:             remi
Operating system: GNU/Linux
PHP version:      5.5.8
Package:          PHP options/info functions
Bug Type:         Feature/Change Request
Bug description:Allow multiple paths in php_ini_scanned_path

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 bug report at https://bugs.php.net/bug.php?id=66574&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=66574&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=66574&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=66574&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=66574&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=66574&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=66574&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=66574&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=66574&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=66574&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=66574&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=66574&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=66574&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=66574&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66574&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=66574&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=66574&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=66574&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66574&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=66574&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=66574&r=mysqlcfg



Thread (7 messages)

« previous php.bugs (#183992) next »