Yii Getting Started Tutorial: Yii installation and helloworld, yii Getting Started Tutorial _ PHP Tutorial

Source: Internet
Author: User
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...

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.