Re: CLI Web Server customization

From: Date: Wed, 06 Nov 2013 16:45:10 +0000
Subject: Re: CLI Web Server customization
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-70036@lists.php.net to get a copy of this message
On 5 November 2013 18:45, Yasuo Ohgaki <yohgaki@ohgaki.net> 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.) 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

« previous php.internals (#70036) next »