[bug-notifications] [php5 0004271]: RFE: Add additional config file directory for module/local configuration

Mantis Bug Tracker noreply at opencsw.org
Wed Jun 29 03:49:15 CEST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4271 
====================================================================== 
Reported By:                skayser
Assigned To:                bwalton
====================================================================== 
Project:                    php5
Issue ID:                   4271
Category:                   regular use
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2010-02-14 15:34 CET
Last Modified:              2011-06-29 03:49 CEST
====================================================================== 
Summary:                    RFE: Add additional config file directory for
module/local configuration
Description: 
PHP can be built with --with-config-file-scan-dir=/path/to/dir so that the
PHP interpreter will scan an additional directory for php.ini style
configuratin files. Our PHP currently doesn't use this, how about adding
it?

This would have two benefits:
* Users could put local php.ini configurations in this directory, no need
to hack the php.ini itself
* Our php5 module packages wouldn't need to fiddle with php.ini any more,
but could simply drop their configuration file in the directory

I am not quite sure about the directory though, /etc/opt/csw/php/conf.d
perhaps?

If config files are read recursively from this dir, we could put our
modules in /etc/opt/csw/php/conf.d/modules. Or even introduce a Debian
apache2 like module activation/deactivation handling with
/etc/opt/csw/php/conf.d/mods-available and
/etc/opt/csw/php/conf.d/mods-enabled which can be maintained with phpenmod,
phpdismod.
====================================================================== 

---------------------------------------------------------------------- 
 (0009154) bwalton (developer) - 2011-06-29 03:49
 https://www.opencsw.org/mantis/view.php?id=4271#c9154 
---------------------------------------------------------------------- 
Hi Sebastian,

I'd fiddled with this before I saw the RFE.  I'm not going to add it for
the pending release, but will put it on the todo list for subsequent
updates.  I don't see a way to make the default config split the modules
out into separate files...that would be sweet as you suggest.

Thanks
-Ben



More information about the bug-notifications mailing list