note 123997 added to features.commandline.webserver
| From: | Lukas@php.net | Date: | Mon, 01 Jul 2019 15:45:02 +0000 |
| Subject: | note 123997 added to features.commandline.webserver | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-211454@lists.php.net to get a copy of this message | ||
For serving static content like .css or .js and otherwise using a router (for me it was index.php)
this worked out of the box for me:
php -S localhost:8000
Due to my router file was index.php. But
php -S localhost:8000 index.php
did not work, because my static files are not served via my router.
----
Server IP: 208.43.231.9
Probable Submitter: 119.81.81.244 (proxied: 141.24.172.174)
----
Manual Page -- http://php.net/manual/en/features.commandline.webserver.php
Edit -- https://master.php.net/note/edit/123997
Del: integrated -- https://master.php.net/note/delete/123997/integrated
Del: useless -- https://master.php.net/note/delete/123997/useless
Del: bad code -- https://master.php.net/note/delete/123997/bad+code
Del: spam -- https://master.php.net/note/delete/123997/spam
Del: non-english -- https://master.php.net/note/delete/123997/non-english
Del: in docs -- https://master.php.net/note/delete/123997/in+docs
Del: other reasons-- https://master.php.net/note/delete/123997
Reject -- https://master.php.net/note/reject/123997
Search -- https://master.php.net/manage/user-notes.php