Re: CLI Web Server customization
| From: | Ángel González | Date: | Wed, 06 Nov 2013 22:42:58 +0000 |
| Subject: | Re: CLI Web Server customization | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-70044@lists.php.net to get a copy of this message | ||
On 06/11/13 09:05, Yasuo Ohgaki wrote:
Hi Angel,
On Wed, Nov 6, 2013 at 4:32 PM, Ángel González <keisial@gmail.com <mailto:keisial@gmail.com>> wrote:
It doesn't handle petitions concurrently, which bars its use on
most production environments.
What do you mean?
Could you explain little more?
Regards,
I was refering to the piece you mentioned before:
BTW, Manual also states "Requests are served sequentially.", but it does not block concurrent requests. It may be misleading and not needed.It may be easier to explain with an example: $ echo '<?php sleep(10); echo "Hi";' > a.php $ echo '<?php echo "World";' > b.php $ php -S 127.0.0.1:8080 If you now request a.php and b.php, using separate connections. a.php will take 10 seconds, but b.php will also take 10 seconds even though it is quick, as it will need to wait for a.php to finish.