From 5dc9ad2fb79b9b5a28cd9f75ad9144810b20299a Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Fri, 1 Jul 2011 14:09:12 +0000 Subject: [PATCH] Added basic cli web server documentation. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312768 c90b9560-bf6c-de11-be94-00142212c4b1 --- features/commandline.xml | 73 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 72 insertions(+), 1 deletion(-) diff --git a/features/commandline.xml b/features/commandline.xml index 02578a1c08..df55c2f8fe 100644 --- a/features/commandline.xml +++ b/features/commandline.xml @@ -1579,7 +1579,78 @@ php > - + + +
+ Built-in web server + + + As of PHP 5.4.0, the &cli.sapi; provides a built-in web server. + + + + This web server is designed for developmental purposes only, and should not + be used in production. + + + + Loading a file + + + + &example.outputs; + + + + + + + Loading a directory + + + + &example.outputs; + + + + + + + Example output while making HTTP requests + + +]]> + + + + + &example.outputs.similar; + + + + + +
+ +