On Sun, 29 Sep 2002, Jean-Christian Imbeault wrote:

> Sorry if this is the wrong place to ask ... but I searched the 
> docs/archives and couldn't find a definite answer so I though I might 
> ask the developers. I did see something about PWEE but it wasn't' clear 
> enough.
> 
> Does using the auto_prepend config option in the php.ini file cause PHP 
> to cache the file in memory? Or will the file be read off disk for every 
> script called ... (I am using PHP as an Apache module).
> 
> Since PHP has to keep pre/appending the *same* file to *all* scripts it 
> runs it would seem efficient to have the engine keep the file in memory ...

It would indeed more efficient, but PHP reparses and executes the 
auto_prepend/auto_append files every time a script is started.

regards,
Derick

--

---------------------------------------------------------------------------
 Derick Rethans                                   http://derickrethans.nl/ 
 JDI Media Solutions
--------------[ if you hold a unix shell to your ear, do you hear the c? ]-


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to