Skip to content

Commit 0988ae3

Browse files
committed
Implemented FR #62700 (have the console output 'Listening on http://localhost:8000')
1 parent 572d643 commit 0988ae3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? 2012, PHP 5.4.6
44

5+
- CLI Server:
6+
. Implemented FR #62700 (have the console output 'Listening on
7+
http://localhost:8000'). ([email protected])
8+
59
- Core:
610
. Fixed bug #62661 (Interactive php-cli crashes if include() is used in
711
auto_prepend_file). (Laruence)

sapi/cli/php_cli_server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2407,7 +2407,7 @@ int do_cli_server(int argc, char **argv TSRMLS_DC) /* {{{ */
24072407
php_localtime_r(&tv.tv_sec, &tm);
24082408
php_asctime_r(&tm, buf);
24092409
printf("PHP %s Development Server started at %s"
2410-
"Listening on %s\n"
2410+
"Listening on http://%s\n"
24112411
"Document root is %s\n"
24122412
"Press Ctrl-C to quit.\n",
24132413
PHP_VERSION, buf, server_bind_address, document_root);

0 commit comments

Comments
 (0)