Re: Proposal: allow for includes in php.ini

From: Date: Wed, 23 Dec 2009 14:21:16 +0000
Subject: Re: Proposal: allow for includes in php.ini
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-46504@lists.php.net to get a copy of this message
On 23-Dec-2009, at 21:47, Johannes Schlüter <johannes@schlueters.de> wrote:
On Wed, 2009-12-23 at 04:40 -0800, Michael Shadle wrote:
NOTE: I just remembered there -is- a config-file-scan-dir option at compile time. However, what about doing away with this and making it inline in php.ini, the syntax can match mysql, as it uses ini files as well.
I think the --with-config-file-scan-dir is the perfect thing for this, having includes means having wild dependencies ... and to answer to your example: Ubuntu would still have to edit a php.ini file to add a new include, with scan dir: add a file,restart server, done. johannes Why not have both? Combining these two methods allow for more flexibility, though if anything I would vote for wildcards in include statements to make it more powerful.
--PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.internals (#46504) next »