Home > Backend Development > PHP Tutorial > The simplest installation tutorial in the history of yii2, one of the best. yii gets the last sql. yii queries a piece of data. yii2 pair

The simplest installation tutorial in the history of yii2, one of the best. yii gets the last sql. yii queries a piece of data. yii2 pair

WBOY
Release: 2016-07-29 08:53:12
Original
2121 people have browsed it

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.

yii2 没有vendor,yii2没有vendor目录,yii2 没有web.php,yii2返回上一页,yii返回上一页,yii2 打印最后一条sql,yii 获取最后一条sql,yii查询一条数据,yii2 一对

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

yii2 没有vendor,yii2没有vendor目录,yii2 没有web.php,yii2返回上一页,yii返回上一页,yii2 打印最后一条sql,yii 获取最后一条sql,yii查询一条数据,yii2 一对

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.

yii2 没有vendor,yii2没有vendor目录,yii2 没有web.php,yii2返回上一页,yii返回上一页,yii2 打印最后一条sql,yii 获取最后一条sql,yii查询一条数据,yii2 一对

What the hell, you still haven’t installed it successfully, leave a message below and let’s discuss each otheryii2 没有vendor,yii2没有vendor目录,yii2 没有web.php,yii2返回上一页,yii返回上一页,yii2 打印最后一条sql,yii 获取最后一条sql,yii查询一条数据,yii2 一对

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.

Related labels:
yii
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template