How PHP works internally

Discussion in 'PHP' started by nidz, Jul 20, 2008.

  1. #1
    Hi,

    I'm trying hard to find out how PHP works internally. Such as, when a request comes into the apache/php engine, what happens next. For e.g. for CGI-BIN using perl, a process will be created for each request and thus is not entirely scalable. Basically, I'm curious of how it handles the scalability and concurrent request (using multithread or a process each). I understand that PHP 4.0 onwards compile and run instead of interpret. This happens all the time by default right?

    I've tried looking at FAQS, Documentation from php.net but I really couldn't find anything that really addresses this issue.

    Would appreciate if anyone can point me in the direction where I can find this resource.

    Thanks.

    Nidz:)
     
    nidz, Jul 20, 2008 IP
  2. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #2
    shallowink, Jul 20, 2008 IP
  3. nidz

    nidz Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    These links helped me to understand but that is not what I waz expectin...if anybody help me in this wud b really appreciable:)
     
    nidz, Jul 24, 2008 IP