Req #62700 [Com]: have the console output 'Listening on http://localhost:8000' (note http://)
| From: | pascal dot chevrel at free dot fr | Date: | Tue, 31 Jul 2012 09:24:16 +0000 |
| Subject: | Req #62700 [Com]: have the console output 'Listening on http://localhost:8000' (note http://) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-172344@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62700&edit=1
ID: 62700
Comment by: pascal dot chevrel at free dot fr
Reported by: pascal dot chevrel at free dot fr
Summary: have the console output 'Listening on
http://localhost:8000' (note http://)
Status: Assigned
Type: Feature/Change Request
Package: Built-in web server
Operating System: Linux Ubuntu 12.04
PHP Version: 5.4.5
Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
I attached a patch that may solve the issue
Previous Comments:
------------------------------------------------------------------------
[2012-07-31 08:03:03] pascal dot chevrel at free dot fr
Description:
------------
Currently when you launch the built-in web server (which is great btw!), the console outputs
something like:
$ php -S localhost:8000
PHP 5.4.4-1~precise+1 Development Server started at Tue Jul 31 09:51:09 2012
Listening on localhost:8000
Document root is /home/pascalc/junk/transvision/web2
Press Ctrl-C to quit.
There is no http:// before localhost:8000, which means that my console is not
converting that into a clickable link, it would be nice to have the http://
added like Python does.
Thanks
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62700&edit=1