Get the App
SLTechnology News&Howtos  ›  Development  › 

The installation process of Yii

Shulou Source: shulou.com Published: 2022-06-03 19:55:20 11月12日 Update

This article mainly explains "the installation process of Yii". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "the installation process of Yii".

1. Download Yii, site: http://www.yiiframework.com/download/

Note the version, here is based on Yii1, if it is Yii2, it may be different.

2. Set up a wen application directory under your "www" directory, which I call "FantaCMS". Then extract the Yii installation package you just downloaded, and then cut the "framework" directory in the extracted file to the "FantaCMS" directory.

3. In command line mode, change the directory to the "framework" directory and execute:

Belongs to "yes" to start the execution program.

4. Installation succeeded

5. Now the directory structure of the project is as follows:

6. Visit http://localhost/FantaCMS/ directly in the program, as shown in the figure:

7. In this way, the most basic Yii application has been established. If you want to configure a virtual host to access it, then configure the virtual host and then access it directly through the configured domain name. However, this step is not necessary, depending on your personal habits.

At this point, I believe you have a deeper understanding of "the installation process of Yii". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Directory process configuration host content program virtual host learning application utility deeper success personal interest command domain name practicality practical simple operation file Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Microsoft OPPO Reno Shulou Technology Apple