Yii Framework official tutorial supplement 2 -- start: install Yii Framework

Source: Internet
Author: User
The Yii installation consists of the following two steps: Download the Yii Framework from yiiframework.com. Decompress the Yii package to a Web accessible directory (for example, your Web root directory wwwwwwroot ). Mention...



The installation of Yii consists of the following two steps:

  1. Download the Yii Framework from yiiframework.com.

  2. Decompress the Yii package to a Web accessible directory (for example, your Web root directory/www/wwwroot /).

Tip:Installation in the Web directory is not required. each Yii application has an entry script that must be exposed to Web users. Other PHP scripts (including Yii) should be protected against Web access because they may be exploited by hackers.

Requirements:

After installing Yii, you may want to verify whether your server meets the requirements for using Yii. you only need to enter the following URL in your browser to access the requirement detection script:

#

The above is the detection result section.

The minimum requirement of Yii is that your Web server supports PHP 5.1.0 or later. Yii passed the test on the Apache HTTP Server on Windows and Linux systems. Theoretically, Yii works normally on other Web servers that support PHP 5.1 and platforms.

Note that not all the extensions in the above detection results must be installed. you only need to install those that are marked as required by the Yii Framework, such as PDO, others are installed as needed.

Installation:

Yii installation is very simple, just copying the downloaded framework folder to the corresponding path. For the sake of security, it is best not to place this folder under the web root directory. If you create multiple sites on the same server, you 'd better place the framework folder in a location that facilitates reading from each site. in this way, you only need to update the Yii framework in one place.

The above is an additional article 2 of the Yii Framework official tutorial -- start: install the Yii Framework. For more information, see The PHP Chinese website (www.php1.cn )!

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.