Also available in these languages:
DeutschEnglishEspañolFrançaisBahasa Indonesia日本語polskiPortuguêsRomâniaРусскийsvenska简体中文

Installation

Installation of Yii mainly involves the following two steps:

  1. Download Yii Framework from yiiframework.com.
  2. Unpack the Yii release file to a Web-accessible directory.

Tip: Yii does not need to be installed under a Web-accessible directory. A Yii application has one entry script which is usually the only file that needs to be exposed to Web users. Other PHP scripts, including those from Yii, should be protected from Web access since they may be exploited for hacking.

Requirements

After installing Yii, you may want to verify that your server satisfies all the requirements of using Yii. You can do so by accessing the requirement checker script at the following URL in a Web browser:

http://hostname/path/to/yii/requirements/index.php

The minimum requirement by Yii is that your Web server supports PHP 5.1.0 or above. Yii has been tested with Apache HTTP server on Windows and Linux operating systems. It may also run on other Web servers and platforms, provided PHP 5 is supported.

$Id: quickstart.installation.txt 1622 2009-12-26 20:56:05Z qiang.xue $
If you found any typos or errors in the tutorial, please create a Yii ticket to report it. If it is a translation error, please create a Yiidoc ticket, instead. Thank you.

Total 1 comment:

#905
failed to open stream: Permission denied in Unknown on line 0
by Munich at 12:24pm on December 17, 2009.

If you get this error on OS X using MAMP then try the tar.gz version of the download instead of the zip.

Your Comment:

You may enter comment using Markdown syntax.

Please login with your forum account.
Note: you must have at least ONE forum post with your account.