Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71550 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43317 invoked from network); 25 Jan 2014 08:39:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jan 2014 08:39:19 -0000 Authentication-Results: pb1.pair.com header.from=remi@fedoraproject.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=remi@fedoraproject.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fedoraproject.org from 212.27.42.6 cause and error) X-PHP-List-Original-Sender: remi@fedoraproject.org X-Host-Fingerprint: 212.27.42.6 smtp6-g21.free.fr Linux 2.6 Received: from [212.27.42.6] ([212.27.42.6:44855] helo=smtp6-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A0/01-35033-43873E25 for ; Sat, 25 Jan 2014 03:39:18 -0500 Received: from schrodingerscat.famillecollet.com (unknown [82.241.130.121]) by smtp6-g21.free.fr (Postfix) with ESMTP id 6601E82290 for ; Sat, 25 Jan 2014 09:39:09 +0100 (CET) Message-ID: <52E3782C.6060403@fedoraproject.org> Date: Sat, 25 Jan 2014 09:39:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: "internals@lists.php.net" X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Request #66574 Allow multiple paths in php_ini_scanned_path - for feedback From: remi@fedoraproject.org (Remi Collet) Hi, See https://bugs.php.net/66574 Real use case: with Software Collections, projects are installed in /opt// 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/, 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.