When does PHP interpreter gets loaded / Does every forked Apache child inherits it ?

Discussion in 'PHP' started by Tarik, May 10, 2006.

  1. #1
    Hello everybody,
    I would like to verify my assumptions concerning the way Apache interracts with PHP. Please verify for me if the following is true for mod_php module:

    PHP interpreter gets loaded during the Apache startup.
    Because of that, every forked Apache child process inherits PHP interpreter.


    Thanks.
     
    Tarik, May 10, 2006 IP
  2. Selkirk

    Selkirk Peon

    Messages:
    93
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, every Apache child process has a copy of the PHP interpreter using mod_php. Because of this, mod_php can significantly increase the per child memory requirements.
     
    Selkirk, May 10, 2006 IP
  3. Tarik

    Tarik Guest

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks, thats
     
    Tarik, May 14, 2006 IP
  4. Tarik

    Tarik Guest

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks, thats what i thought
     
    Tarik, May 14, 2006 IP