Home >Backend Development >PHP Tutorial >The simplest installation tutorial in the history of yii2, one of the simplest tutorials in the history of yii2_PHP tutorial
Author: Bai Lang 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 must be provided in an obvious position on the article page. Otherwise, we reserve the right to pursue legal liability.
Some friends recently chatted with me privately. 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 no changes should be made
In the second step, we switch to the advanced directory and start configuration cd advanced
Then follow the steps in the picture below
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