note 107418 added to features.commandline.webserver
| From: | Anonymous | Date: | Tue, 07 Feb 2012 18:26:18 +0000 |
| Subject: | note 107418 added to features.commandline.webserver | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-185898@lists.php.net to get a copy of this message | ||
From a comment by Evert Pot at http://www.lornajane.net/posts/2012/php-5-4-built-in-webserver:
"If you bind a socket server on localhost, you can indeed only access it from your own machine.
If you want the server to be accessible from any interface (wireless, wired, local, whatever), just
specify:
php -S 0.0.0.0:8080
As for the 'what's the benefit' questions.. for simply stuff it now becomes extremely
easy for library / application developers to just include a './launch.sh' script to get an
application running."
----
Server IP: 92.48.74.199
Probable Submitter: 148.87.19.206
----
Manual Page -- http://www.php.net/manual/en/features.commandline.webserver.php
Edit -- https://master.php.net/note/edit/107418
Del: integrated -- https://master.php.net/note/delete/107418/integrated
Del: useless -- https://master.php.net/note/delete/107418/useless
Del: bad code -- https://master.php.net/note/delete/107418/bad+code
Del: spam -- https://master.php.net/note/delete/107418/spam
Del: non-english -- https://master.php.net/note/delete/107418/non-english
Del: in docs -- https://master.php.net/note/delete/107418/in+docs
Del: other reasons-- https://master.php.net/note/delete/107418
Reject -- https://master.php.net/note/reject/107418
Search -- https://master.php.net/manage/user-notes.php