Re: how does the PHP interpreter work?

From: Phil Roberts (phil.roberts_at_googlemail.com)
Date: 07/16/04


Date: Thu, 15 Jul 2004 17:08:44 -0500


"Tony Marston" <tony@NOSPAM.demon.co.uk> emerged reluctantly from
the curtain and staggered drunkenly up to the mic. In a cracked
and slurred voice he muttered:

> 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.
>

The question was in relation to the fetching of remote XML data
feeds though. In which case PHP will not render the data until it
has been fetched. Network lag, not interpreter lag. Sorry for any
confusion.

-- 
Phil Roberts | Without me its just aweso. | http://www.flatnet.net/
   "Mankind differs from the animals only by a little,
    and most people throw that away."
        - Confucious


Relevant Pages

  • PHP memory for multiple websites
    ... I would like to run multiple instances of TYPO3 (a cms written in PHP) ... You can run multiple websites in two methods: multisite or multiple ...
    (comp.lang.php)
  • Re: Problem creating working array value pair
    ... For the life of me I don't see what is wrong. ... for multiple instances of the same value in an array, ...
    (comp.lang.php)
  • Re: IIS 6 + PHP / multiple php.ini files
    ... >I'm looking for a way to run multiple websites on the same webserver, but at the same time having each website use it's own php.ini file in contrast to using one global php.ini file. ... I'm certainly no PHP expert but I think this may actually be possible. ... IIS6 and one thing I've discovered is that PHP searches for the ... multiple instances as such may indeed be possible. ...
    (microsoft.public.inetserver.iis)
  • see what php script is running
    ... Is there a way to see what php is currently running? ... that httpd is running, ... script is currently running and perhaps if there's multiple instances of it. ... Prev by Date: ...
    (alt.php)