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

Mantis Bug Tracker noreply at opencsw.org
Sun Feb 5 15:30:32 CET 2012


The following issue has been CLOSED 
====================================================================== 
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:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-02-14 15:34 CET
Last Modified:              2012-02-05 15:30 CET
====================================================================== 
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.
====================================================================== 

---------------------------------------------------------------------- 
 (0009582) bwalton (administrator) - 2012-02-05 15:30
 https://www.opencsw.org/mantis/view.php?id=4271#c9582 
---------------------------------------------------------------------- 
The php5 packages now support /etc/opt/csw/php5/conf.d.  Core modules don't
use this but non-core modules can now easily deposit their config here
without altering config files they don't own.



More information about the bug-notifications mailing list