First download framework YII from the site http://www.yiiframework.com/download/
then
1.Unzip the zip file and put in to your local server's root (i.e www or htdocs)
2.Open command prompt and set path till php.exe like
path = %path% E:\xampp\php
3.Now go to path where your frame work directory is located like.
E:\>cd xampp
E:\xampp>cd htdocs
E:\xampp\htdocs>cd yii
E:\xampp\htdocs\yii>
4.Run command to create application based on yii.
E:\xampp\htdocs\yii>framework\yiic webapp E:\xampp\htdocs\application_name
in 4th point "framework\yiic webapp" is command while
"E:\xampp\htdocs\application_name" is path where your application is being installed.
5.Press enter after doing above things and it will ask for following
Create a Web application under ‘E:\xampp\htdocs\application_name’? [Yes|No] y
6.Press Enter and all the necessary files will be created under
E:\xampp\htdocs\application_name
7.At last you will get message
Your application has been created successfully under E:\xampp\htdocs\application_name.
8.URL to access this webapp is http://localhost/application_name/
Hope this help all.
No comments:
Post a Comment