Yii Getting Started Tutorial: Yii installation and helloworld, yii Getting Started Tutorial. Yii installation and helloworld, Yii tutorial 1. download yii, website: www. yiiframework. comdownload note version. here it is based on Yii1. if it is Yii2's Yii Getting Started Tutorial, Yii installation and hello world, yii Getting Started Tutorial
1, download Yii, site: http://www.yiiframework.com/download/
Note that the version is based on Yii1. if it is Yii2, it may be different ....
2. create a wen application directory under your "www" directory. I am calling it "FantaCMS" and decompress the downloaded Yii installation package, cut the "framework" directory in the extracted file to the "FantaCMS" directory.
3. in command line mode, switch to the "framework" directory through the directory and execute:
It belongs to "yes" and starts executing the program
4. installation successful
5. the directory structure of the project is as follows:
6. access http: // localhost/FantaCMS/directly in the program /,
7. in this way, the most basic Yii application has been established. if you want to configure a virtual host for access, configure the virtual host, then you can access the service directly through the configured domain name. However, this step is not necessary. check your personal habits...
Next, continue: Yii project directory structure analysis, Yii entry file analysis, Yii route analysis, Yii Template layout settings, and Yii background project construction
World, yii Getting Started Tutorial 1, download Yii, site: http://www.yiiframework.com/download/ note version, here is based on Yii1, if it is Yii2...