yiic shell does not work

My current directory in cmd is, C:/wamp/www/yii/framework

And i tried just giving the command ‘yiic’.

What happens is,it gives me the message ,’“php.exe”’ is not recognsed as an internal or external command,operable program or batch file

What is the wrong?

Please help me

First of all what apache server are you using? XAMPP? WAMP?

If you are using XAMPP then you need to change a little bit code in yiic.bat

from this:

if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe

to this:

if "%PHP_COMMAND%" == "" set PHP_COMMAND=C:\xampp\php\php.exe

if you are using others web server application, just find the php.exe and write full path at the line of code…

Thanks a lot for the reply

I am using wamp server,but i couldn’t find php.exe,Is it somewhere at C:\wamp\bin\php\php5.3.8 dirctory.