note 119706 added to features.commandline.webserver

From: Date: Sun, 07 Aug 2016 09:55:21 +0000
Subject: note 119706 added to features.commandline.webserver
Groups: php.notes 
Request: Send a blank email to php-notes+get-206232@lists.php.net to get a copy of this message
It’s not mentioned directly, and may not be obvious, but you can also use this to create a virtual host. This, of course, requires the help of your hosts file. Here are the steps: 1 /etc/hosts 127.0.0.1 www.example.com 2 cd [root folder] php -S www.example.com:8000 3 Browser: http://www.example.com:8000/index.php Combined with a simple SQLite database, you have a very handy testing environment. ---- Server IP: 72.52.91.14 Probable Submitter: 115.64.97.81 ---- Manual Page -- http://php.net/manual/en/features.commandline.webserver.php Edit -- https://master.php.net/note/edit/119706 Del: integrated -- https://master.php.net/note/delete/119706/integrated Del: useless -- https://master.php.net/note/delete/119706/useless Del: bad code -- https://master.php.net/note/delete/119706/bad+code Del: spam -- https://master.php.net/note/delete/119706/spam Del: non-english -- https://master.php.net/note/delete/119706/non-english Del: in docs -- https://master.php.net/note/delete/119706/in+docs Del: other reasons-- https://master.php.net/note/delete/119706 Reject -- https://master.php.net/note/reject/119706 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#206232) next »