rfc:builtinwebserver

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
rfc:builtinwebserver [2011/06/30 22:56] – Mention index.html & index.php sixdrfc:builtinwebserver [2011/08/06 19:28] – [Request for Comments: Built-in web server] stas
Line 3: Line 3:
   * Date: 2011-06-020   * Date: 2011-06-020
   * Author: Moriyoshi Koizumi <moriyoshi.at.php.net>   * Author: Moriyoshi Koizumi <moriyoshi.at.php.net>
-  * Status: In Discussion+  * Status: Implemented in 5.4
   * First Published at: http://wiki.php.net/rfc/builtinwebserver   * First Published at: http://wiki.php.net/rfc/builtinwebserver
   * Other formats ..   * Other formats ..
Line 45: Line 45:
   php -S localhost:8000 routing.php   php -S localhost:8000 routing.php
  
-If the path to a file is given in place of document root the file will be regarded as a router script and the document root will then be set to the directory where it belongs.+If the path to a file is given, the file will be regarded as a router script and the document root will then be set to the directory where it belongs.
  
 <code php> <code php>
rfc/builtinwebserver.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1