Re: Current PHP implementation [message #180011 is a reply to message #180010] |
Wed, 26 December 2012 12:15 |
The Natural Philosoph
Messages: 993 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 26/12/12 10:43, Tim Streater wrote:
> In article <hvvqq9-ept(dot)ln1(at)luuk(dot)invalid(dot)lan>, Luuk <luuk(at)invalid(dot)lan>
> wrote:
>
>> On 26-12-2012 03:45, Jerry Stuckle wrote:
>>> On 12/25/2012 8:51 PM, SL@maxis wrote:
>>>>
>>>> I ask this question in 'comp.unix.programmer. It seems like it is more
>>>> related to PHP.
>>>>
>>>> I ask here to find out the current PHP implementation.
>>>>
>>>> Assume at a given time 10 users send in AJAX calls; server end handled
>>>> by '123.php'.
>>>>
>>>> 1. Handler (script): 123.php
>>>>
>>>> Does the server initiate 10 processes to handle the calls ? Which
>> means
>>>> 10 processes are closed after processing !?
>>>>
>>>> 2. Handler (daemon): 123.php
>>>>
>>>> Is the daemon/server creating 10 threads to handle requests ? Which
>>>> means the daemon is always running. Please ignore the memory
>> problem of
>>>> PHP.
>
>>> PHP doesn't handle AJAX calls, nor does PHP start any processes. That
>>> is all done by the web server. You need to be asking in a newsgroup
>>> for the webserver you are using.
>
>> ants fucker
>>
>> What about the answer to this question,
>>
>> (after replacing the 'improper' described handling of PHP)
>
> Anyone understand what Luuk's reply means?
>
I think he means incorrect. I.e. the contention that PHP dosnt...its all
done by the server..
...and the definition of a server to be a box that serves, which
obviously contains the PHP.
--
Ineptocracy
(in-ep-toc’-ra-cy) – a system of government where the least capable to
lead are elected by the least capable of producing, and where the
members of society least likely to sustain themselves or succeed, are
rewarded with goods and services paid for by the confiscated wealth of a
diminishing number of producers.
|
|
|