php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #62700 have the console output 'Listening on http://localhost:8000' (note http://)
Submitted: 2012-07-31 08:03 UTC Modified: 2012-07-31 14:42 UTC
From: pascal dot chevrel at free dot fr Assigned: laruence (profile)
Status: Closed Package: Built-in web server
PHP Version: 5.4.5 OS: Linux Ubuntu 12.04
Private report: No CVE-ID: None
 [2012-07-31 08:03 UTC] 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


Patches

prepend-http-protocol-to-localhost (last revision 2012-07-31 09:23 UTC by pascal dot chevrel at free dot fr)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-31 08:55 UTC] laruence@php.net
-Assigned To: +Assigned To: laruence
 [2012-07-31 09:24 UTC] pascal dot chevrel at free dot fr
I attached a patch that may solve the issue
 [2012-07-31 14:42 UTC] laruence@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-07-31 14:42 UTC] laruence@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC