From 4efb84ce3315aff3f8f95bff1af8f20fc020493c Mon Sep 17 00:00:00 2001 From: Daniel Gomez Pan Date: Wed, 11 Nov 2015 11:47:08 +0100 Subject: [PATCH] Update docs [skip ci] --- docs/guide/start-installation.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/guide/start-installation.md b/docs/guide/start-installation.md index 6216a7e8bc..f15069463f 100644 --- a/docs/guide/start-installation.md +++ b/docs/guide/start-installation.md @@ -95,7 +95,14 @@ After installation is done, either configure your web server (see next section) console command while in the project `web` directory: ``` -php -S localhost:80 +php yii serve +``` + +> Note: By default the HTTP-server will listen to port 8080. However if that port is already in use or you wish to +serve multiple applications this way, you might want to specify what port to use. Just add the --port argument: + +``` +php yii serve --port=8888 ``` You can use your browser to access the installed Yii application with the following URL: