From c05dedad3af6877e13124135aad4cdd7af073d5c Mon Sep 17 00:00:00 2001 From: Arthur Verschaeve Date: Tue, 29 Jul 2014 14:23:13 +0300 Subject: [PATCH] Docs: Add information about PHP's built-in server Ref: http://php.net/manual/en/features.commandline.webserver.php Close: h5bp/html5-boilerplate#1569. --- doc/faq.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/faq.md b/doc/faq.md index 3810fe1..cda229a 100644 --- a/doc/faq.md +++ b/doc/faq.md @@ -31,6 +31,9 @@ you to preview your web pages online (e.g. [Dropbox](https://www.dropbox.com/)). Setting up a local server can be done using: +* PHP 5.4.0+ by running + [`php -S localhost:`](http://php.net/manual/en/features.commandline.webserver.php) + from your local directory * Python 2.x by running `python -m SimpleHTTPServer` from your local directory * Python 3.x by running `python -m http.server` from your local directory * Ruby by installing and running [asdf](https://rubygems.org/gems/asdf)