com php-src: Implemented FR #62700 (have the console output 'Listening on http://localhost:8000'): NEWS sapi/cli/php_cli_server.c
| From: | Xinchen Hui | Date: | Tue, 31 Jul 2012 14:42:28 +0000 |
| Subject: | com php-src: Implemented FR #62700 (have the console output 'Listening on http://localhost:8000'): NEWS sapi/cli/php_cli_server.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69740@lists.php.net to get a copy of this message | ||
Commit: 0988ae3c43982db1474dd7e9a772953c8a7cf0c6
Author: Xinchen Hui <laruence@php.net> Tue, 31 Jul 2012 22:42:28 +0800
Parents: 572d6437bc84123e8971e2f35b4fdf14e1e0e5f5
Branches: PHP-5.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0988ae3c43982db1474dd7e9a772953c8a7cf0c6
Log:
Implemented FR #62700 (have the console output 'Listening on http://localhost:8000')
Bugs:
https://bugs.php..net/62700
Changed paths:
M NEWS
M sapi/cli/php_cli_server.c
Diff:
diff --git a/NEWS b/NEWS
index 7336376..5a5fda7 100644
--- 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)
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c
index 02f8854..e80ab68 100644
--- a/sapi/cli/php_cli_server.c
+++ b/sapi/cli/php_cli_server.c
@@ -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);