XAMPP: Executing PHP.EXE from Command Prompt

To execute PHP from command prompt, you need to go to php directory in xampp, allocate the php.exe, then type the code like this…

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