Installing Yii in xampp on Windows XP

Yii is a new php framework which is going to be used widely in the near future.Here i am going to guide how to install Yii framework in xampp on windows platform.

Step1
Download the frame work from here
Step2
Unpack it and and put the folder in C:\xampp\htdocs\yii (or the path you installed xampp).
Step3
Start the Xampp control panel and start the apache server and mysql

Step4
Open the browser and got to
http://localhost/yii/requirements/
if you put folder correctly in htdocs you should be getting the above page

Creating web app from cmd windows(comand promtp)

How to use the yiic command to bootstrap the creation of a new
Yii application

Step1
  1. right click "my computer"
  2. go to "system properties" under "advanced" tab, click on "environment variables"
  3. under "system variables" find for the variable named "PATH" and click on "Edit" button
in "Variable Value" append the php.exe path with a semi-colon like below
;C:\xampp\php


if you dont do the above step correctly you will get this error "php.exe is not recognized as an internal or external command"

Step2
open cmd and enter

cd c:\xampp\htdocs\yii\framework

then enter

yiic webapp ..\newapp

you will prompted with

Comments

  1. Amazing articles! got this so very quickly.Thanks

    ReplyDelete
  2. thank you. quickly adding new lesson

    ReplyDelete
  3. Good articles ... quick lesson learn

    ReplyDelete
  4. This is sudhan.. very easy and powerful installation technique... Very thank you..:)

    ReplyDelete
  5. Thanks a lot of.........
    I can't describe how effective....

    ReplyDelete
  6. THANK, THANKS))))

    ReplyDelete
  7. Just Awsome..... I have done after 4 days :-D

    ReplyDelete
  8. awsome effort...!! thank u so much

    ReplyDelete
  9. Thank you, I've been looking for a straightforward example like this! Much appreciated.

    ReplyDelete
  10. awsome effort...!! thank u so much

    ReplyDelete
  11. Thanks, Its very helpful

    ReplyDelete
  12. amazing tutorial!! However, i made a mistake.At system variables, the "PATH" was overwritten by ;C:\xampp\php instead of append. how do i resolve this?

    ReplyDelete
  13. awesome steps for installation

    ReplyDelete

Post a Comment

Popular posts from this blog

how to Add Piecemaker a Flash 3D image rotator to blogger