Yii Introductory Tutorial Yii installation and Hello world,yii Introductory tutorial _php Tutorial

Source: Internet
Author: User
Tags yii

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 ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.