Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70036 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52049 invoked from network); 6 Nov 2013 16:45:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Nov 2013 16:45:35 -0000 Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.219.54 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.219.54 mail-oa0-f54.google.com Received: from [209.85.219.54] ([209.85.219.54:42617] helo=mail-oa0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2D/50-50145-E227A725 for ; Wed, 06 Nov 2013 11:45:35 -0500 Received: by mail-oa0-f54.google.com with SMTP id n16so2409432oag.41 for ; Wed, 06 Nov 2013 08:45:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=KmEk78BDTmWSKl8HWYo0g+P1lnqwptp9kplC43Am9QI=; b=e4r8sEUCYqJ2N0u2J0qr4UnPED4RfggxcEV1aegR82PZ205Xo4fvmdsCAY2DA87S/u /CRjGRRLMd8O53XlJAj09VFi5ectEK3OeimAK4JqWKdxw/KUnZhx5SAMeMTWusRZ4a1y 1OW7ixcUaUgrwBz/O6mLMMjfhtykQIgF0Lvgk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=KmEk78BDTmWSKl8HWYo0g+P1lnqwptp9kplC43Am9QI=; b=WLFP61F5kvKWyOJLBdkhvcE2A1XPz3VIRizqd6Vzn43/3iHE1Bz8fsI2Ypk2RwB1td iWdi615XxdaYtHnNz0I4g+7wIlil6I2NlRFY5H6y4TVYn/qK8bnxJzRf0W+vqlvWUbSr IEOGZWPo9joQuPVM5tk/tiXNkUevLxnoU5XsSrFFnK33Cxvg9ud2fQn1j4SbNItD89RF l0stKWA1nfLPL5wawDevowsDLrbRD8KbMDY0/uSpq84lKTRqHqS1Q7zLHI6wgA7Cpc1Y 6Lle9zxco2VkHozkugi2nBbBPr6ozMCqdvSEx/8qPeqJNBHuO3eI73tDRFbywaVgALIc HwrA== X-Gm-Message-State: ALoCoQmmnS6tmG2Q0dvrlwZkrV8f0XBSDWCReCI1qQNTVnS729F0TN2olb2EDFNS9MiJ2K1Vbo+b X-Received: by 10.182.75.201 with SMTP id e9mr3440399obw.28.1383756331838; Wed, 06 Nov 2013 08:45:31 -0800 (PST) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.76.178.161 with HTTP; Wed, 6 Nov 2013 08:45:10 -0800 (PST) In-Reply-To: References: <60B9BBE0-BC3F-490A-AD78-9EBC22C808CF@googlemail.com> Date: Wed, 6 Nov 2013 08:45:10 -0800 X-Google-Sender-Auth: 78HcgyrQoGeaLHC93xNTJ_Qx1-M Message-ID: To: Yasuo Ohgaki Cc: Kevin Ingwersen , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] CLI Web Server customization From: aharvey@php.net (Adam Harvey) On 5 November 2013 18:45, Yasuo Ohgaki wrote: > 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.) My recollection of the discussion at the time was that part of the reasoning behind that note was security: the CLI server was a new piece of code, and the public Internet is a pretty hostile place, particularly for Web servers. Therefore the intention was to discourage users from exposing the CLI server on anything other than loopback and private networks. It doesn't sound like that's a problem for Kevin, but I'm pretty sure that was part of the context there. Adam