Wednesday, 4 June 2014

Yii installation in xampp Server

Step 1:  Download the yii-1.1.14.f0fee9.tar file from

Step 2: Now click on download

Step 3: Unzip & rename the file , put on web directory C:\xampp\htdocs

Step 4: Run cmd write

1: C:\Users\sid>cd\
2: C:\>cd xampp\htdocs\yii

Note: here yii is the rename folder name

3: C:\xampp\htdocs\yii>framework\yiic
'"php.exe"' is not recognized as an internal or external command,
operable program or batch file.

Note: now open the yiic batch file in framework & edit this 

set YII_PATH=%~dp0

if "%PHP_COMMAND%" == "" set PHP_COMMAND=C:\xampp\php\php.exe

"%PHP_COMMAND%" "%YII_PATH%yiic" %*

4: C:\xampp\htdocs\yii>framework\yiic

5: C:\xampp\htdocs\yii>framework\yiic webapp

Now specific the path 

6:  C:\xampp\htdocs\yii>framework\yiic webapp C:\xampp\htdocs\yiiTest
write yes

Note: yiiTest is folder name of application

 you can also watch video.



  1. thank you Sudhir ,,!!! This is really very helpful.
    Keep on updating with this kind of meaningful activities , so that we can learn a lot from you.
    Krrp up the good work !!!