#28793 [Opn->Asn]: php.ini settings should be able to read other php.ini settings
| From: | derick@php.net | Date: | Tue, 15 Jun 2004 14:36:30 +0000 |
| Subject: | #28793 [Opn->Asn]: php.ini settings should be able to read other php.ini settings | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60958@lists.php.net to get a copy of this message | ||
ID: 28793
Updated by: derick@php.net
Reported By: bero at arklinux dot org
-Status: Open
+Status: Assigned
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 5.0.0RC3
-Assigned To:
+Assigned To: andrei
New Comment:
This is on our list for 5.1 already. Assigning this request to Andrei
as he has a patch for it already.
Previous Comments:
------------------------------------------------------------------------
[2004-06-15 16:19:21] bero at arklinux dot org
Description:
------------
This may not make a lot of sense at first look, but it
makes perfect sense if you're using a CONFIG_FILE_SCAN_DIR
and trying to install a number of 3rd party modules:
php.ini settings should be able to reference other php.ini
settings
Example:
[CONFIG_FILE_SCAN_DIR is set to /etc/php.d]
/etc/php.ini has
include_path=.;/usr/local/php-includes
/etc/php.d/3rdpartymodule.ini has
include_path=/opt/3rdpartymodule
/etc/php.d/anothermodule.ini has
include_path=/usr/local/anothermodule
These are mutually exclusive --- to reduce the
administrator workload of changing include_path for every
3rd party module (what CONFIG_FILE_SCAN_DIR was all about
in the first place), it would be really nice if a 3rd
party config file could just do
include_path += /opt/3rdpartymodule
or
include_path = $include_path:/opt/3rdpartymodule
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28793&edit=1