mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-17 16:01:15 +08:00
Update docs [skip ci]
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user