summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli_server.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2012-07-31 22:42:28 +0800
committerXinchen Hui <laruence@php.net>2012-07-31 22:42:28 +0800
commit0988ae3c43982db1474dd7e9a772953c8a7cf0c6 (patch)
tree8fac5026ddaf26d738b8457dfc8bae4293e20da5 /sapi/cli/php_cli_server.c
parent572d6437bc84123e8971e2f35b4fdf14e1e0e5f5 (diff)
downloadphp-git-0988ae3c43982db1474dd7e9a772953c8a7cf0c6.tar.gz
Implemented FR #62700 (have the console output 'Listening on http://localhost:8000')
Diffstat (limited to 'sapi/cli/php_cli_server.c')
-rw-r--r--sapi/cli/php_cli_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c
index 02f885484f..e80ab68f80 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);