Liang wrote:
>  I am a programmer and new to php. I wonder what process control can php 
> interpreter do for multithreading . I notice that through http request, php 
> interpreter can execute 2 php programs simataneously, but will only 
> sequentially queued and execute if I try to execute one php code in the same 
> time.
> 
> Can somebody tell me is it a problem by php design not to be execute code 
> concurrently, or some apache/php configuration problem where I can fix?

Apache is a multi-process single-threaded architecture.  1 request, 1
process.  Concurrent requests are handled by concurrent processes.  What
is it you think you need a second thread for during a request?

-Rasmus

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to