In windows, you simply go to the framework folder and type:
yiic webapp pathToYourNewProject
yiic will use yiic.bat by default, so you do not need to specify any php.exe (I am not saying that it will not work like that). and the path to your new project can be relative or absolute, here are a few examples:
-- C: | -- sandbox/ | --yii/ | | | --framework/ | | | --yiic.bat (for Window) | --yiic.php (for Linux) --newWebApp/
To create on Windows, I use:
cd c:\sandbox\yii\framework yiic webapp ../../newWebApp type yes when prompted and you're done
or
cd c:\sandbox\yii\framework yiic webapp c:\sandbox\newWebApp type yes when prompted and you're done
Create on Linux:
cd /media/sf_sandbox/yii/framework/ ./yiic webapp ../../newWebApp
source share