svn: /phpdoc/en/trunk/features/ commandline.xml
| From: | Christopher Jones | Date: | Thu, 21 Jul 2011 18:05:34 +0000 |
| Subject: | svn: /phpdoc/en/trunk/features/ commandline.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8523@lists.php.net to get a copy of this message | ||
sixd Thu, 21 Jul 2011 18:05:34 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=313551
Log:
Sync example output with Moriyoshi's recent code changes for bug #55071
Bug: https://bugs.php.net/55071 (Closed) Change in-built
web server description
Changed paths:
U phpdoc/en/trunk/features/commandline.xml
Modified: phpdoc/en/trunk/features/commandline.xml
===================================================================
--- phpdoc/en/trunk/features/commandline.xml 2011-07-21 18:00:19 UTC (rev 313550)
+++ phpdoc/en/trunk/features/commandline.xml 2011-07-21 18:05:34 UTC (rev 313551)
@@ -1613,6 +1613,7 @@
<title>Starting the web server</title>
<programlisting role="shell">
<![CDATA[
+$ cd ~/public_html
$ php -S localhost:8000
]]>
</programlisting>
@@ -1621,7 +1622,10 @@
</para>
<screen>
<![CDATA[
-PHP Development Server is listening on localhost:8000 in /home/mydir ... Press Ctrl-C to quit.
+PHP 5.4.0 Development Server started at Thu Jul 21 10:43:28 2011
+Listening on localhost:8000
+Document root is /home/me/public_html
+Press Ctrl-C to quit
]]>
</screen>
<para>
@@ -1631,10 +1635,15 @@
</para>
<screen>
<![CDATA[
-PHP Development Server is listening on localhost:8000 in /home/mydir ... Press Ctrl-C to quit.
-[Fri Jul 1 06:29:04 2011] ::1:63530: /
-[Fri Jul 1 06:29:10 2011] ::1:63532: /index.php
-[Fri Jul 1 06:29:11 2011] ::1:63533: /myscript.html
+PHP 5.4.0 Development Server started at Thu Jul 21 10:43:28 2011
+Listening on localhost:8000
+Document root is /home/me/public_html
+Press Ctrl-C to quit.
+[Thu Jul 21 10:48:48 2011] ::1:39144 GET /favicon.ico - Request read
+[Thu Jul 21 10:48:50 2011] ::1:39146 GET / - Request read
+[Thu Jul 21 10:48:50 2011] ::1:39147 GET /favicon.ico - Request read
+[Thu Jul 21 10:48:52 2011] ::1:39148 GET /myscript.html - Request read
+[Thu Jul 21 10:48:52 2011] ::1:39149 GET /favicon.ico - Request read
]]>
</screen>
</example>
@@ -1643,6 +1652,7 @@
<title>Starting with a specific document root directory</title>
<programlisting role="shell">
<![CDATA[
+$ cd ~/public_html
$ php -S localhost:8000 -t foo/
]]>
</programlisting>
@@ -1651,7 +1661,10 @@
</para>
<screen>
<![CDATA[
-PHP Development Server is listening on localhost:8000 in /home/mydir/foo ... Press Ctrl-C to quit.
+PHP 5.4.0 Development Server started at Thu Jul 21 10:50:26 2011
+Listening on localhost:8000
+Document root is /home/me/public_html/foo
+Press Ctrl-C to quit
]]>
</screen>
</example>
@@ -1682,10 +1695,13 @@
</para>
<screen>
<![CDATA[
-PHP Development Server is listening on localhost:8000 in /home/mydir ... Press Ctrl-C to quit.
-[Fri Jul 1 06:29:04 2011] ::1:63530: /
-[Fri Jul 1 06:29:10 2011] ::1:63532: /mylogo.jpg
-[Fri Jul 1 06:29:11 2011] ::1:63533: /abc.html
+PHP 5.4.0 Development Server started at Thu Jul 21 10:53:19 2011
+Listening on localhost:8000
+Document root is /home/me/public_html
+Press Ctrl-C to quit.
+[Thu Jul 21 10:53:45 2011] ::1:55801 GET /mylogo.jpg - Request read
+[Thu Jul 21 10:53:52 2011] ::1:55803 GET /abc.html - Request read
+[Thu Jul 21 10:53:52 2011] ::1:55804 GET /favicon.ico - Request read
]]>
</screen>
</example>