php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #55071
Patch startup_msg.txt revision 2011-07-06 19:59 UTC by a at example dot com

Patch startup_msg.txt for Built-in web server Bug #55071

Patch version 2011-07-06 19:59 UTC

Return to Bug #55071 | Download this patch
Patch Revisions:

Developer: a@example.com

Index: php_cli_server.c
===================================================================
--- php_cli_server.c	(revision 313018)
+++ php_cli_server.c	(working copy)
@@ -2094,7 +2094,10 @@
 	}
 	sapi_module.phpinfo_as_text = 0;
 
-	printf("PHP Development Server is listening on %s:%d in %s ... Press Ctrl-C to quit.\n", server.host, server.port, document_root);
+	printf("PHP %s Development HTTP Server\n", PHP_VERSION);
+	printf("Listening on %s:%d\n", server.host, server.port);
+	printf("Document Root is %s\n", document_root);
+	printf("Press Ctrl-C to quit.\n\n");
 
 #if defined(HAVE_SIGNAL_H) && defined(SIGINT)
 	signal(SIGINT, php_cli_server_sigint_handler);
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 22:01:29 2024 UTC