OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004271 [php5] regular use feature N/A 2010-02-14 15:34 2012-02-05 15:30
Reporter skayser View Status public  
Assigned To bwalton
Priority normal Resolution fixed  
Status closed  
Summary 0004271: 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.
Additional Information # pkgparam CSWphp5 VERSION
5.2.9,REV=2009.05.06
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0009154)
bwalton (administrator)
2011-06-29 03:49

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
(0009582)
bwalton (administrator)
2012-02-05 15:30

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.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker