note 107418 deleted from features.commandline.webserver by danbrown
| From: | danbrown@php.net | Date: | Wed, 04 Apr 2012 15:40:30 +0000 |
| Subject: | note 107418 deleted from features.commandline.webserver by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-186965@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
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."