You are here: Re: [PHP] Question about apache-php concurrent process control « PHP « IT news, forums, messages
Re: [PHP] Question about apache-php concurrent process control

Posted by Rasmus Lerdorf on 11/13/97 11:21

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация