Installation of Yii Framework based on PHP.

Introduction to Yii

Yii is a high-performance PHP framework best for developing Web 2.0 applications.Yii is pronounced as Yee or [ji:], and is an acroynym for “Yes It Is!”.

Yii is a free, open-source Web application development framework written in PHP5 that promotes clean, DRY design and encourages rapid development. It works to streamline your application development and helps to ensure an extremely efficient, extensible, and maintainable end product.

Steps to install Yii

  • Download the latest Yii package and unpack it in your web accessible directory (/var/www).
  • Make sure that the unpacked Yii folder should have following files/directories:

demos/                 demos      

framework/           framework source files      

requirements/        requirement checker      

CHANGELOG      describing changes in every Yii release      

LICENSE              license of Yii      

README              this file      

UPGRADE            upgrading instructions


The minimum requirements by Yii is that your Web server supports
PHP 5.1.0 or above. Yii has been tested with Apache HTTP server Linux operating systems.
Please access the following URL to check if your Web server reaches
the requirements by Yii, assuming “YiiPath” is where Yii is installed:

Example : http://localhost/Yii/requirements/index.php
It will show the following screen if it is satisfied with requirements.

Quick Start

  • On command line , type in the following commands :

                       $ cd YiiPath/framework

 $ ./yiic webapp ../testdrive 

Yii comes with a command line tool called “yiic” that can create
a skeleton Yii application for you to start with.

The new Yii application will be created at “YiiPath/testdrive”.
You can access it with the following URL:


That all 🙂


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s