From:             bero at arklinux dot org
Operating system: Linux
PHP version:      5.0.0RC3
PHP Bug Type:     Feature/Change Request
Bug description:  php.ini settings should be able to read other php.ini settings

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 bug report at http://bugs.php.net/?id=28793&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28793&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28793&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28793&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28793&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28793&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28793&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28793&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28793&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28793&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28793&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28793&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28793&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28793&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28793&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28793&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28793&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28793&r=float

Reply via email to