Yii2 framework installation and yii2 framework Installation
In the past two days, I took some time to install yii2, and encountered various problems during the installation process.
In the beginning, I was planning to build this learning framework on Microsoft's private cloud. However, after several attempts, I had to install the framework on my computer!
First, yii2 requires a runtime environment above php5.4. For simplicity, wamp2.5is directly installed on your windows system.
Step 2: Download composer
Official Website: https://getcomposer.org/download/
You can install the SDK by default. After the installation is successful, enter composer in cmd. The following prompt indicates that the installation is successful:
Step 3: yii2-advance installation (via composer)
Link: http://www.yiiframework.com/download/
Follow the prompts above to install advance.
After the installation is successful, the following prompt appears:
Step 4: Initialize the project, switch to your installation directory, and enter init in the advance directory. The following message is displayed:
Step 5: Enter the corresponding link in the browser and you will see the following prompt: