Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70024 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5934 invoked from network); 6 Nov 2013 02:46:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Nov 2013 02:46:02 -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.169 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.217.169 mail-lb0-f169.google.com Received: from [209.85.217.169] ([209.85.217.169:45925] helo=mail-lb0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CD/01-26738-86DA9725 for ; Tue, 05 Nov 2013 21:46:01 -0500 Received: by mail-lb0-f169.google.com with SMTP id p9so5097838lbv.14 for ; Tue, 05 Nov 2013 18:45:57 -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=/Z70JKs/foScUhfqbKX8SR+bkE/3c+PpOAfJh9CvuXQ=; b=SASAo5J7SmjcjK7aV5CL4BxW37eapK2Npe/xA+w/pd1rmWfdQQEnIVxdVqPzECxIaz 5pHyxN4PAykHeeJ7Hm04IhyZKK7ne7yqCtZyestfDrXVirLZSonq2fx/DQHEUTbZ3zGA IriProa+4iEAmquVfqEGPpf+cczi8WGQfypGkToB9za/RjH9tvuUdhAyOXZ4dhszZ62W jHCMgd1bw9JsTsEI6MzmjCubBWW4VZqL2f6DasbZHw0+orSXNj0VAey90N83+aA82CCV J4OCKeJumGyeRsmq3iGg15W/mqYYcL2Wc5XV+G/c4MCRxEorNPkhZCFv5vWs533fOUz1 MIrw== X-Received: by 10.152.120.73 with SMTP id la9mr531762lab.3.1383705956936; Tue, 05 Nov 2013 18:45:56 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.154.201 with HTTP; Tue, 5 Nov 2013 18:45:16 -0800 (PST) In-Reply-To: <60B9BBE0-BC3F-490A-AD78-9EBC22C808CF@googlemail.com> References: <60B9BBE0-BC3F-490A-AD78-9EBC22C808CF@googlemail.com> Date: Wed, 6 Nov 2013 11:45:16 +0900 X-Google-Sender-Auth: GJcjNgDtJ9OarM0pq40RpHbmsq8 Message-ID: To: Kevin Ingwersen Cc: PHP internals Content-Type: multipart/alternative; boundary=089e011766e50970df04ea7926d9 Subject: Re: [PHP-DEV] CLI Web Server customization From: yohgaki@ohgaki.net (Yasuo Ohgaki) --089e011766e50970df04ea7926d9 Content-Type: text/plain; charset=UTF-8 Hi Kevin, On Wed, Nov 6, 2013 at 10:06 AM, Kevin Ingwersen 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? -- Yasuo Ohgaki yohgaki@ohgaki.net --089e011766e50970df04ea7926d9--