# Request #66574 Allow multiple paths in php_ini_scanned_path - for feedback

- Thread: https://externals.io/message/71550
- Original archive: https://news-web.php.net/php.internals/71550
- Started by Remi Collet on 2014-01-25T08:39:08+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #71550 — Remi Collet — 2014-01-25T08:39:08+00:00

URL: https://externals.io/message/71550#71550

Hi,

See https://bugs.php.net/66574


Real use case: with Software Collections,
projects are installed in /opt/<provider>/<name>

So in RHSCL, PHP is installed in /opt/rh/php55

If another provider want to extend the PHP collection it will have to
use another path, /opt/<otherprovider>, so it will need a way to use 2
configuration directories.

The proposed path use a : separated list (or whatever the default dir
separator list is) and, inspired by MANPATH syntax, empty string means
default builtin value.

Patch (with space changes ignored for readability):
https://bugs.php.net/patch-display.php?bug_id=66574&patch=iniscan-multipath-strip.patch&revision=latest


I plan to apply this minor change in 5.5.


Thanks for your feedback,
Remi


P.S. I'm aware we probably need a more deep rework of ini management,
but this is only a minor change we need for SCL.
