Preblem while creating New Application in yii through MS-DOS?

i tried these steps to creating new yii application but getting errors

  • [size="3"]Yii pakage downloaded[/size]
  • [size=“3”]unzipped in ‘www’ directory in wamp server[/size]
  • [size="3"]run Ms-dos[/size]
  • [size="3"]root directory c:>cd\[/size]
  • [size="3"]c:>cd wamp/www/yii/framework[/size]
  • [size="3"]c:wamp/www/yii/framework>yiic webapp ../../mynewapplication[/size]
  • [size=“3”]Error: ’ “php.exe” in not recongnized as an internal or external command, operable programme or batch file.[/size]

suggest any idea to resolve this error.

ohhh shhhhh

i forgot to set "environment variables"

here the step if someone stuck with same problem

Open the Environment Variables window by going to:

Start -> My Computer (right click) -> Advanced Tab -> Environment Variables -> Click Path in System variables -> Edit.

Set This:

C:\wamp\bin\php\php5.2.8\ ; C:\wamp\www\framework\;

Well done! :)