note 129107 added to features.commandline.webserver
| From: | devoldemar at main dot php dot net | Date: | Sat, 16 Dec 2023 08:06:29 +0000 |
| Subject: | note 129107 added to features.commandline.webserver | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221061@lists.php.net to get a copy of this message | ||
Built-in web server uses SAPI logging subsystem. Therefore all messages are written to standard
error, and not to standard output stream.
If you want to save server logs into a file, the following command will work:
php -S 0.0.0.0:80 2>&1 | tee out.log
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.157.134 (proxied: 151.236.39.105)
----
Manual Page -- https://php.net/manual/en/features.commandline.webserver.php
Edit -- https://main.php.net/note/edit/129107
Del: integrated -- https://main.php.net/note/delete/129107/integrated
Del: useless -- https://main.php.net/note/delete/129107/useless
Del: bad code -- https://main.php.net/note/delete/129107/bad+code
Del: spam -- https://main.php.net/note/delete/129107/spam
Del: non-english -- https://main.php.net/note/delete/129107/non-english
Del: in docs -- https://main.php.net/note/delete/129107/in+docs
Del: other reasons-- https://main.php.net/note/delete/129107
Reject -- https://main.php.net/note/reject/129107
Search -- https://main.php.net/manage/user-notes.php