RE: [PHP-DEV] Best/Proper way to process an extension-specific configuration (ini) file.
| From: | David M. Patterson | Date: | Fri, 13 Feb 2009 22:01:51 +0000 |
| Subject: | RE: [PHP-DEV] Best/Proper way to process an extension-specific configuration (ini) file. | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43037@lists.php.net to get a copy of this message | ||
On Fri, Feb 13, 2009 at 7:31 PM, David M. Patterson <
dpatterson@dplhenterprises.com> wrote:
> The normal way is to use PHP ini-entries. You can find examples in just
> about every extension out there. Are you sure you need a separate
> configuration file for your extension?
Unfortunately, standard php.ini entries won't suffice in this case.
The extension's config file will contain indeterminate keys and the normal
php.ini processing requires that all keys be known at compile time (as far
as I can tell).