note 116443 added to tutorial.requirements
| From: | wojciech dot fornal at gmail dot com | Date: | Sun, 04 Jan 2015 09:30:35 +0000 |
| Subject: | note 116443 added to tutorial.requirements | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201357@lists.php.net to get a copy of this message | ||
For really simple ad hoc server working at any location you want, you can use PHP's built-in
web server (available since PHP 5.4.0). Just run in the shell/cli in a directory where you have your
.php files:
$ php -S localhost:8000
This will run PHP built-in server on your localhost and port 8000. If you want to learn more about
available options you can use --help flag.
$ php --help
Please note that enabling directory listing requires additional effort.
----
Server IP: 72.52.91.14
Probable Submitter: 83.26.116.120
----
Manual Page -- http://php.net/manual/en/tutorial.requirements.php
Edit -- https://master.php.net/note/edit/116443
Del: integrated -- https://master.php.net/note/delete/116443/integrated
Del: useless -- https://master.php.net/note/delete/116443/useless
Del: bad code -- https://master.php.net/note/delete/116443/bad+code
Del: spam -- https://master.php.net/note/delete/116443/spam
Del: non-english -- https://master.php.net/note/delete/116443/non-english
Del: in docs -- https://master.php.net/note/delete/116443/in+docs
Del: other reasons-- https://master.php.net/note/delete/116443
Reject -- https://master.php.net/note/reject/116443
Search -- https://master.php.net/manage/user-notes.php