Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51567 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1435 invoked from network); 4 Mar 2011 06:41:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Mar 2011 06:41:12 -0000 Authentication-Results: pb1.pair.com header.from=mozo@mozo.jp; sender-id=permerror Authentication-Results: pb1.pair.com smtp.mail=mozo@mozo.jp; spf=permerror; sender-id=permerror Received-SPF: error (pb1.pair.com: domain mozo.jp from 209.85.161.42 cause and error) X-PHP-List-Original-Sender: mozo@mozo.jp X-Host-Fingerprint: 209.85.161.42 mail-fx0-f42.google.com Received: from [209.85.161.42] ([209.85.161.42:51361] helo=mail-fx0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 50/E9-34246-689807D4 for ; Fri, 04 Mar 2011 01:41:12 -0500 Received: by fxm20 with SMTP id 20so1808599fxm.29 for ; Thu, 03 Mar 2011 22:41:08 -0800 (PST) Received: by 10.223.143.86 with SMTP id t22mr306335fau.82.1299220868238; Thu, 03 Mar 2011 22:41:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.73.202 with HTTP; Thu, 3 Mar 2011 22:40:45 -0800 (PST) In-Reply-To: <4D704BA5.5080402@oracle.com> References: <4D704BA5.5080402@oracle.com> Date: Fri, 4 Mar 2011 15:40:45 +0900 Message-ID: To: Christopher Jones Cc: internals Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] RFC: built-in web server in CLI. From: mozo@mozo.jp (Moriyoshi Koizumi) On Fri, Mar 4, 2011 at 11:17 AM, Christopher Jones 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. =A0That 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: =A0+1 650 506 8630 > Blog: =A0http://blogs.oracle.com/opal/ >