php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #28793 php.ini settings should be able to read other php.ini settings
Submitted: 2004-06-15 16:19 UTC Modified: 2006-12-18 17:08 UTC
From: bero at arklinux dot org Assigned: andrei (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 5.0.0RC3 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bero at arklinux dot org
New email:
PHP Version: OS:

 

 [2004-06-15 16:19 UTC] 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 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-15 16:36 UTC] derick@php.net
This is on our list for 5.1 already. Assigning this request to Andrei as he has a patch for it already.
 [2006-12-18 17:08 UTC] andrei@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php

It's already in PHP 5.1 and later.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 27 02:00:03 2025 UTC