Author: Bailang Source: www.manks.top/article/yii2_install
The copyright of this article belongs to the author, and you are welcome to reprint it. However, this statement must be retained without the author’s consent, and a link to the original text should be given in an obvious position on the article page, otherwise it will be retained The right to pursue legal liability.
Some friends chatted with me privately recently. Why do they say that Yii is so superior, but why can’t I install Yii? Is he really the legendary tall man? What's going on?
Write an absolutely easiest Yii2 installation tutorial in history to teach you how to get started.
Since we are installing Yii, we first go to the official website to download an advanced template of Yii. What, you said you can’t understand the messy English letters on the page you open? Well, brother, just follow the screenshot below.
Okay, let’s download it, unzip it and put it in a web-accessible directory. The file name is advanced and don’t make any changes
The second step is to switch to the advanced directory and start configuring cd advanced
Then follow the steps in the picture below That’s it
Then it’s ok, it’s over, our environment is set up, what, you don’t believe it, we visit http://localhost/advanced/frontend/web/ through the web to see if it is successful or not.
What the hell, you still haven’t installed it successfully, leave a message below and let’s discuss each other
The above has introduced the simplest installation tutorial in the history of yii2. There is no one of them, including the content of yii. I hope it will be helpful to friends who are interested in PHP tutorials.