Ivan Ristic wrote:
    How is a persistent database connection handled then? e.g. in the
    mysql module?


  Apache 1.x pre-creates a number of server processes. Each process
  handles a certain number of requests (one at a time), and then
  dies. It is then replaced with an another server process. The number
  of processes can vary depending on the load and the configuration.

  Database connections (and other resources) are persistent on the
  per-server-process level. What this means that an open connection
  in one server process cannot be reused from within another
  server process.
I see. This is sad news indeed. But is this really a closest one can get with apache? None of the other extension libraries for apache, like nsapi, provides the notion of persistent resources shared among all apache requestst?


Akos


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

Reply via email to