Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70045 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88898 invoked from network); 7 Nov 2013 01:18:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Nov 2013 01:18:56 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.51 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.215.51 mail-la0-f51.google.com Received: from [209.85.215.51] ([209.85.215.51:35051] helo=mail-la0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/20-21046-E7AEA725 for ; Wed, 06 Nov 2013 20:18:55 -0500 Received: by mail-la0-f51.google.com with SMTP id ep20so228023lab.38 for ; Wed, 06 Nov 2013 17:18:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=RwPIZQWv8Rwr0O53Mx6qFvFoVBjCO8avcNE3jLwXlyQ=; b=PLV1viMHpCGlFTxPKqIlHplUJia2YP6oyLIKpyLAGbCgJxlHhQfNeOiRlsPAmbS238 NwR6IR7LjEawscNKDXyV+3vF2NXfkBH9vZjsHLA+ugFzX4rRrbwpAA9HLlThdr+Gc02J HcyDvay3frGAwMrj11PdBOPpWbcu63RiL09WVI76p/r7Mf3gQDU8ffANsjTTbSztCwgM o9fNL6JR/YrVC14bHmd1OIf+V/rbxepZ8KXJ+TCGZGTTFQcfqUMeqDWqeICqid+2yrj3 owTZ2NldIgpu1/NzA9meh/wzKM+4mW8gPiYe22NXe+Q10Ql9cGLfScHUkkwTSpb1rWiI IArQ== X-Received: by 10.152.30.8 with SMTP id o8mr602542lah.54.1383787130700; Wed, 06 Nov 2013 17:18:50 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.154.201 with HTTP; Wed, 6 Nov 2013 17:18:10 -0800 (PST) In-Reply-To: <527AC5F2.5090401@gmail.com> References: <60B9BBE0-BC3F-490A-AD78-9EBC22C808CF@googlemail.com> <5279F08B.1050803@gmail.com> <527AC5F2.5090401@gmail.com> Date: Thu, 7 Nov 2013 10:18:10 +0900 X-Google-Sender-Auth: HH9R7uzQCw7szwZljg5xhD7HM5U Message-ID: To: =?UTF-8?B?w4FuZ2VsIEdvbnrDoWxleg==?= Cc: Kevin Ingwersen , PHP internals Content-Type: multipart/alternative; boundary=089e0160b7965ecbaf04ea8c0c53 Subject: Re: [PHP-DEV] CLI Web Server customization From: yohgaki@ohgaki.net (Yasuo Ohgaki) --089e0160b7965ecbaf04ea8c0c53 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Nov 7, 2013 at 7:42 AM, =C3=81ngel Gonz=C3=A1lez wrote: > On 06/11/13 09:05, Yasuo Ohgaki wrote: > > Hi Angel, > > On Wed, Nov 6, 2013 at 4:32 PM, =C3=81ngel Gonz=C3=A1lez 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 ' a.php > $ echo ' 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. Thank you. Now I see what you mean. CLI server is accepts multiple requests, but scripts are executed one by on= e because there is only one PHP in there. I'll update the manual 'requests' to 'script' also. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --089e0160b7965ecbaf04ea8c0c53--