Yes, thanks, i'm aware of that ;)

The question is how to preload some PHP code *before* any request
processing happens. AFAIK this how it happens in Rails(please correct
me if i'm wrong): they have FastCGI server written with Ruby and once
it's started it preloads(bootstraps) the most common items of the
Rails library, application model classes, configuration settings etc.

I think it shouldn't be too difficult to do it, using php FCGI, you should just need not to cleanup the environment after processing the request. Of course, I've no idea how to do this, but It doesn't sounds very hard to do, IMHO. At least for FastCGI.

Reply via email to