Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51566 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76827 invoked from network); 4 Mar 2011 02:18:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Mar 2011 02:18:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain oracle.com from 148.87.113.121 cause and error) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 148.87.113.121 rcsinet10.oracle.com Linux 2.6 Received: from [148.87.113.121] ([148.87.113.121:18172] helo=rcsinet10.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3E/A6-34246-1EB407D4 for ; Thu, 03 Mar 2011 21:18:10 -0500 Received: from rcsinet13.oracle.com (rcsinet13.oracle.com [148.87.113.125]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p242I4nU015042 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 4 Mar 2011 02:18:06 GMT Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet13.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p242I38W005913; Fri, 4 Mar 2011 02:18:04 GMT Received: from abhmt012.oracle.com by acsmt354.oracle.com with ESMTP id 1056902671299205030; Thu, 03 Mar 2011 18:17:10 -0800 Received: from [10.159.223.15] (/10.159.223.15) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 03 Mar 2011 18:17:09 -0800 Message-ID: <4D704BA5.5080402@oracle.com> Date: Thu, 03 Mar 2011 18:17:09 -0800 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: Moriyoshi Koizumi CC: internals Mailing List References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4D704BDC.0129,ss=1,fgs=0 Subject: Re: [PHP-DEV] RFC: built-in web server in CLI. From: christopher.jones@oracle.com (Christopher Jones) 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 Have you thought about integration with run-tests.php? -- Email: christopher.jones@oracle.com Tel: +1 650 506 8630 Blog: http://blogs.oracle.com/opal/