Re: how does the PHP interpreter work?
From: Tony Marston (tony_at_NOSPAM.demon.co.uk)
Date: 07/15/04
- Next message: Antoni: "Re: Passing values between scripts:"
- Previous message: Tony Marston: "Re: netscape mozilla iexplorer standard"
- In reply to: lawrence: "Re: how does the PHP interpreter work?"
- Next in thread: Phil Roberts: "Re: how does the PHP interpreter work?"
- Reply: Phil Roberts: "Re: how does the PHP interpreter work?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 15 Jul 2004 11:16:43 +0100
"lawrence" <lkrubner@geocities.com> wrote in message
news:da7e68e8.0407142158.50cc32d8@posting.google.com...
> Phil Roberts <phil.roberts@googlemail.com> wrote in message
news:<Xns9524A062BB55Ephilroberts@216.196.97.132>...
> > lkrubner@geocities.com (lawrence) emerged reluctantly from the
> > curtain and staggered drunkenly up to the mic. In a cracked and
> > slurred voice he muttered:
> >
> > > Are you saying that PHP can not begin to render any
> > > pages for the second visitor until it is done reading the stream
> > > of data over the Internet for the first visitor? That is, the
> > > second visitor must wait 8 seconds before the PHP interpreter
> > > even begins to work on rendering a page for them?
> >
> > Yes.
This is crap. A web server like Apache can run multiple threads at the same
time, and as each HTTP request comes in it is handed over to the first
available thread. It is therefore possible to have multiple instances of PHP
being executed at the same time as each instance is within its own thread.
having the ability to allow multiple concurrent threads is a function of the
web server, not PHP.
-- Tony Marston http://www.tonymarston.net
- Next message: Antoni: "Re: Passing values between scripts:"
- Previous message: Tony Marston: "Re: netscape mozilla iexplorer standard"
- In reply to: lawrence: "Re: how does the PHP interpreter work?"
- Next in thread: Phil Roberts: "Re: how does the PHP interpreter work?"
- Reply: Phil Roberts: "Re: how does the PHP interpreter work?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|