Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70025 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7568 invoked from network); 6 Nov 2013 02:56:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Nov 2013 02:56:35 -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.217.181 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.217.181 mail-lb0-f181.google.com Received: from [209.85.217.181] ([209.85.217.181:63515] helo=mail-lb0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 58/61-26738-DDFA9725 for ; Tue, 05 Nov 2013 21:56:34 -0500 Received: by mail-lb0-f181.google.com with SMTP id x18so7345024lbi.12 for ; Tue, 05 Nov 2013 18:56:26 -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=gBgneuDj9HbwEcxBkFqh0cS070s+IWDdJYycx8c4SNE=; b=NFnGrLb1thLHUZr7OJ2dQeRLjU2sA3dC7+ZAQ6pvTlH4UFZZM60DIWr++PILqiR/W2 DbOdA9N0hX1sxXtAyYBxwcAYLiX+ABOz7fhHTShygYtWDVzaQfSD0ecCdthP7cR61Djp 42yhW8m5cSrHusvAu8pHk16kNYBaNOMVFgtgVtgIjWRLqueBcf3iLXWfVOEVBUZEZidS Si0dWlylIWczneOGja29/73OFtYNT8lX2ML9376vPZGHk8bDF7VFlo/P64spyIujozXY eIuxmaOy1YgW0VmCUxdKocfNySoZ471oooWJz887u8VqRaRP36dSp0QIpBbjv5ZA3rzX BJXA== X-Received: by 10.112.167.3 with SMTP id zk3mr925453lbb.23.1383706586387; Tue, 05 Nov 2013 18:56:26 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.154.201 with HTTP; Tue, 5 Nov 2013 18:55:46 -0800 (PST) In-Reply-To: References: <60B9BBE0-BC3F-490A-AD78-9EBC22C808CF@googlemail.com> Date: Wed, 6 Nov 2013 11:55:46 +0900 X-Google-Sender-Auth: _X2w6ouaBuHHMIlxdwedzPeWNz8 Message-ID: To: Kevin Ingwersen Cc: PHP internals Content-Type: multipart/alternative; boundary=001a11c264a48e1ba304ea794bf5 Subject: Re: [PHP-DEV] CLI Web Server customization From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11c264a48e1ba304ea794bf5 Content-Type: text/plain; charset=UTF-8 On Wed, Nov 6, 2013 at 11:45 AM, Yasuo Ohgaki wrote: > On Wed, Nov 6, 2013 at 10:06 AM, Kevin Ingwersen < > ingwie2000@googlemail.com> wrote: > >> I am also curios about something else. Back in some time, the PHP manual >> read that the HTTP server is "for development only". The problem is, I do >> not want to package an apache webserver into the bundle - or do some nodejs >> scripting for some webserver. I'd like to stay on a PHP basis. > > > "For development only" note is there because cli server crash means > stopped service. > If there is watch dog that restart cli server, then it's ok to use with > any purpose as long as > users don't care for restrictions/stability/security. > (For instance, daemon tools by DJB may be used as good watch dog.) > > I think no one objects making cli server more like full featured web > server. > Pull requests will be welcomed. > > Anyway, the original author was made cli server to be used like Mongrel in > Ruby. > That's the main reason of "for development only" besides the early stage > of cli > server development. > > Current manual > http://php.net/manual/en/features.commandline.webserver.php > states > > "This web server is designed for developmental purposes only, and should > not be used in production." > > at the beginning of the page. It may be too much now. > How about make it a note some thing like this? > > "Note: Build-in web server is intended for web application development. > Use in production environment is > discouraged." > > Any comments? > s/Build-in/Built-in/ BTW, Manual also states "Requests are served sequentially.", but it does not block concurrent requests. It may be misleading and not needed. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11c264a48e1ba304ea794bf5--