Re: configuration
| From: | (Stig Sæther Bakken) | Date: | Tue, 22 May 2001 13:01:34 +0000 |
| Subject: | Re: configuration | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-439@lists.php.net to get a copy of this message | ||
[Nicolas Hoizey <nhoizey@phpheaven.net>]
> Hi,
>
> > I think it's time to find a standard way of giving applications
> > parameters without having to modify library code.
>
> Yes, it's time to do it, it is really needed !!! :)
>
> > To access the configuration we can either use ini_get() or make a
> > new set of pear_ini_* functions.
>
> Do these functions access the '*.ini' file every time they are called,
> or is the whole configuration loaded somewhere in memory ?
The php.ini file is loaded when PHP starts up, which is once per httpd
process for Apache. But SAPI backends have the opportunity to
override individual ini directives on each request.
- Stig
--
Stig Sæther Bakken <ssb@fast.no>
Fast Search & Transfer ASA, Trondheim, Norway