|
|
|
@ -1,7 +1,23 @@
|
|
|
|
|
Installation |
|
|
|
|
============ |
|
|
|
|
|
|
|
|
|
Installation of Yii mainly involves the following two steps: |
|
|
|
|
Installing via Composer |
|
|
|
|
----------------------- |
|
|
|
|
|
|
|
|
|
The recommended way of installing Yii is by using Composer package manager. |
|
|
|
|
|
|
|
|
|
There are two application templates available: |
|
|
|
|
|
|
|
|
|
- [basic](https://github.com/yiisoft/yii2-app-basic) that is just a basic frontend application template. |
|
|
|
|
- [advanced](https://github.com/yiisoft/yii2-app-advanced) that is a set of frontend, backend, console, common |
|
|
|
|
(shared code) and environments support. |
|
|
|
|
|
|
|
|
|
Please refer to installation instructions on these pages. |
|
|
|
|
|
|
|
|
|
Installing from zip |
|
|
|
|
------------------- |
|
|
|
|
|
|
|
|
|
Installation from zip mainly involves the following two steps: |
|
|
|
|
|
|
|
|
|
1. Download Yii Framework from [yiiframework.com](http://www.yiiframework.com/). |
|
|
|
|
2. Unpack the Yii release file to a Web-accessible directory. |
|
|
|
@ -12,7 +28,6 @@ needs to be exposed to Web users. Other PHP scripts, including those from
|
|
|
|
|
Yii, should be protected from Web access; otherwise they might be exploited |
|
|
|
|
by hackers. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requirements |
|
|
|
|
------------ |
|
|
|
|
|
|
|
|
|