]> granicus.if.org Git - php/commitdiff
Implemented FR #62700 (have the console output 'Listening on http://localhost:8000')
authorXinchen Hui <laruence@php.net>
Tue, 31 Jul 2012 14:42:28 +0000 (22:42 +0800)
committerXinchen Hui <laruence@php.net>
Tue, 31 Jul 2012 14:42:28 +0000 (22:42 +0800)
NEWS
sapi/cli/php_cli_server.c

diff --git a/NEWS b/NEWS
index 7336376c3c0915960bda7f636b352492f290f368..5a5fda71aa11a6be9f4ba2a8b4dbec43a68cf919 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2012, PHP 5.4.6
 
+- CLI Server:
+  . Implemented FR #62700 (have the console output 'Listening on 
+    http://localhost:8000'). (pascal.chevrel@free.fr)
+
 - Core:
   . Fixed bug #62661 (Interactive php-cli crashes if include() is used in
     auto_prepend_file). (Laruence)
index 02f885484f5b06c5860f4d3e9a684a925399b790..e80ab68f806b4be10b375da66163225ceba75ef5 100644 (file)
@@ -2407,7 +2407,7 @@ int do_cli_server(int argc, char **argv TSRMLS_DC) /* {{{ */
                php_localtime_r(&tv.tv_sec, &tm);
                php_asctime_r(&tm, buf);
                printf("PHP %s Development Server started at %s"
-                               "Listening on %s\n"
+                               "Listening on http://%s\n"
                                "Document root is %s\n"
                                "Press Ctrl-C to quit.\n",
                                PHP_VERSION, buf, server_bind_address, document_root);