I'm running on a windows box. Don't know if that changes things...
I haven't checked in a while, but I don't think that multithreading is
anything you need to worry about. There was some problem with the earliest
versions of PHP4 by Zend. I remember I had problems running simple scripts
when I upgraded, and Zeev pointed me to a directory where I could download
the latest thread-safe build.
Also, a long while back, I wrote a couple simple load test scripts which
would take a few minutes to run. Looking at the task manager on my Win2k
webserver, each time a browser hit my machine, another instance of Apache
and PHP would pop up... so in that sense, they didn't look like threads,
they were completely distinct processes.
Take care,
Nik
-----Original Message-----
From: Randy Berry [mailto:randy.berry@w...]
Sent: Monday, November 26, 2001 8:08 PM
To: professional php
Subject: [pro_php] Threading
How does PHP handle threading? Does PHP invoke an instance each time an
application is invoked? Can you program PHP to handle multi-threading and
if so, how is this done, and, in your experience, how stable/reliable is
it.
Thanks for you help in advance.