On Fri, 5 Oct 2001, Rasmus Lerdorf wrote:

> Sascha, do you think it would be possible to move that call out of the
> MINIT function in MINIT?  It doesn't make a lot of sense to me to
> initialize mm if it is not being used.  Especially since this could fail
> and prevent people from using file-based sessions.
>
> Perhaps the right fix is to check if the session handler is mm in MINIT
> and also stick that initialization in the onupdate ini handler.

    Nope, that would make it impossible to switch save handlers,
    because the shared memory segment has to be initialized from
    the parent process (anonymous shared memory).

    MINIT is executed exactly once per "apachectl (re)start" and
    only if you have explicitly build PHP with MM support.  Could
    you elaborate on where you see a problem?

    - Sascha                                     Experience IRCG
      http://schumann.cx/                http://schumann.cx/ircg


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to