Tijnema wrote: > On 7/14/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote: >> > The Apache2handler SAPI should be loaded first, and read the very >> > first line of the PHP script to determine if a version is specified >> > there. If not, the handler needs to load its default PHP version. If >> > it is specified, it should try to load that version, and if it >> > couldn't find or load that version, fall back to the default version >> > and issue a warning. >> >> This means the engines would have to init/shutdown on each request, >> which makes it as bad as CGI. > Is that really a big problem?
If you care at all about performance, yes. > And isn't that what Apache currently does? No, of course not. The whole point of the Apache module version of PHP is to keep PHP in memory across requests and only call the MINIT and MSHUTDOWN hooks on server startup and shutdown. Not to sound too elitist here, and this is directed just at you personally, but if you are going to post to the internals list, you should have some notion of how PHP works internally. We don't mind people who don't work on the code posting here occasionally, but please keep in mind that it is our primary means of communicating amongst the people working on the code and lately it has gotten a bit hard to pick out the useful stuff from the chatter. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php