Request #66574 Allow multiple paths in php_ini_scanned_path - for feedback
| From: | Remi Collet | Date: | Sat, 25 Jan 2014 08:39:08 +0000 |
| Subject: | Request #66574 Allow multiple paths in php_ini_scanned_path - for feedback | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-71550@lists.php.net to get a copy of this message | ||
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.