Re: CLI Web Server customization
| From: | Yasuo Ohgaki | Date: | Thu, 14 Nov 2013 22:37:07 +0000 |
| Subject: | Re: CLI Web Server customization | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-70143@lists.php.net to get a copy of this message | ||
Hi all,
On Fri, Nov 15, 2013 at 7:33 AM, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> On Thu, Nov 14, 2013 at 3:29 PM, Raymond Irving <xwisdom@gmail.com> wrote:
>
>> I'm also in agreement with updating the docs.
>>
>> IMO I think the CLI server can be safely used for small local (
>> http://localhost) or offline web apps .
>>
>
> How about change the manual as follows?
> Any correction, improvement is appreciated.
>
> Index: commandline.xml
> ===================================================================
> --- commandline.xml (リビジョン 332115)
> +++ commandline.xml (作業コピー)
> @@ -1606,12 +1606,15 @@
> </para>
>
> <para>
> - This web server is designed for developmental purposes only, and
> should not
> - be used in production.
> + Multiple requests are handled concurrently, but PHP scripts are
> + served sequentially. It blocks requests and PHP scripts if a script
> + stalled.
> </para>
>
> <para>
> - Requests are served sequentially.
> + This web server is designed for developmental purposes mainly, and
> + it is not aimed to be a full featured web server. Use of built-in
> + web server under public internet is discouraged.
> </para>
>
> <para>
>
Correction. It does block script, but not request.
Any correction, improvement is appreciated.
Index: commandline.xml
===================================================================
--- commandline.xml (リビジョン 332115)
+++ commandline.xml (作業コピー)
@@ -1606,12 +1606,14 @@
</para>
<para>
- This web server is designed for developmental purposes only, and should
not
- be used in production.
+ Multiple requests are handled concurrently, but PHP scripts are
+ served sequentially. It blocks PHP scripts if a scripts stalled.
</para>
<para>
- Requests are served sequentially.
+ This web server is designed for developmental purposes mainly, and
+ it is not aimed to be a full featured web server. Use of built-in
+ web server under public internet is discouraged.
</para>
<para>
--
Yasuo Ohgaki
yohgaki@ohgaki.net