Yii Introductory tutorial on Yii installation and Hello World,yii Introductory tutorial
1, download Yii, site: http://www.yiiframework.com/download/
Note that the version, here is based on YII1, if it is Yii2 words may be different ....
2, in their own "www" directory to create a Wen application directory, I am called "fantacms", and then unzip the newly downloaded YII installation package, and then extract the "framework" in the file to the "Fantacms" directory
3, in command-line mode, through the directory switch to the "framework" directory, execute:
"Yes" starts executing the program
4. Successful Installation
5, now the directory structure of the project is as follows:
6, access directly in the program: http://localhost/FantaCMS/,
7, so that the most basic of a YII application has been established, if you want to configure the virtual host to access, then configure the virtual host, and then through the configuration of the direct access to the domain name can be, but this step is not necessary, see personal habits bar ...
Next section continue: Yii project directory structure analysis, yii portal file analysis, Yii routing analysis, yii template layout settings and Yii background project construction
http://www.bkjia.com/PHPjc/917024.html www.bkjia.com true http://www.bkjia.com/PHPjc/917024.html techarticle Yii Introductory Tutorial yii installation and Hello World,yii Introductory tutorial 1, download Yii, site: http://www.yiiframework.com/download/Note version, here is according to YII1, if it is Yii2 ...