I know that there are several script caching systems that exist for PHP 
currently, and they increase the speed of PHP scripts greatly, but I 
wonder if there is something more that can be done to increase the 
execution speed of scripts. Primarily, what I'm interested in, is the 
ability to have PHP load a library/include type script when it is 
started, and then have that state persist for all scripts that are executed.

I believe this is something that AOLServer does when it starts up. I 
don't know if this functionality exists with PHP, if someone out there 
has perhaps made an extension that can do this, or if it's even 
possible. I don't know the architecture of Apache or other servers and 
how they work so please let me know if this is simply not possible.

Could it work in such a way that when the PHP module is initialized it 
would read in a PHP file, and then when the server is either forked or a 
thread is created, the state of the PHP module is cloned so that the 
functions/variables defined in the pre-loaded script would automatically 
exist?

Could someone perhaps give me some pointers to documentation that would 
help me better understand how the PHP module interacts with web servers 
such as, but not limited to, Apache/AOLServer?

-- 
Gabriel Ricard
[EMAIL PROTECTED]


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

Reply via email to