Re: RFC: built-in web server in CLI.

From: Date: Fri, 04 Mar 2011 06:40:45 +0000
Subject: Re: RFC: built-in web server in CLI.
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-51567@lists.php.net to get a copy of this message
On Fri, Mar 4, 2011 at 11:17 AM, Christopher Jones <christopher.jones@oracle.com> wrote: > > > On 03/02/2011 12:55 PM, Moriyoshi Koizumi wrote: >> >> Hi, >> >> Just to let you know that I wrote a RFC about built-in web server >> feature with which PHP can serve contents without a help of web >> servers.  That would be handy for development purpose. >> >> If interested, have a look at >> http://wiki.php.net/rfc/builtinwebserver . >> >> Regards, >> Moriyoshi >> > > To allow for future changes, all options should require flags. > For example, php -S localhost:8000 -d docroot instead of the > currently proposed php -S localhost:8000 docroot That might make sense. I am thinking that being unable to specify a document root with a router script is a bit inconsistent. > Have you thought about integration with run-tests.php? Not in mind yet, but if it's better than CGI. Moriyoshi > -- > Email: christopher.jones@oracle.com > Tel:  +1 650 506 8630 > Blog:  http://blogs.oracle.com/opal/ >

« previous php.internals (#51567) next »