Yii 1.0 installation in Window
- Set environment Variable Path php/bin from wamp
- Copy yii and paste to wamp/www
- make your project folder
- Run yiic on the command line as follows:
% YiiRoot/framework/yiic webapp WebRoot/testdrive
YiiRoot: Put proper path of yii folder path
WebRoot/testdrive: Give path of project folder
Note: When running yiic on Mac OS, Linux or Unix, you may need to change
the permission of the yiic file so that it is executable. Alternatively,
you may run the tool as follows,
% cd WebRoot
% php YiiRoot/framework/yiic.php webapp testdrive
Test:
http://localhost/testdrive/index.php
- Copy yii and paste to wamp/www
- make your project folder
- Run yiic on the command line as follows:
% YiiRoot/framework/yiic webapp WebRoot/testdrive
YiiRoot: Put proper path of yii folder path
WebRoot/testdrive: Give path of project folder
Note: When running yiic on Mac OS, Linux or Unix, you may need to change
the permission of the yiic file so that it is executable. Alternatively,
you may run the tool as follows,
% cd WebRoot
% php YiiRoot/framework/yiic.php webapp testdrive
Test:
http://localhost/testdrive/index.php
Comments
Post a Comment