0

I am trying for create a new project in yii.When I execute the command "yiic webapp c:\wamp\www\testyii" shows the below error

"php.exe is not recognized as an internal or external command".

My environment variable path is "%path%;C:\wamp\bin\php\php5.4.16".

How do I solve this issue ?

arun
  • 3,637
  • 3
  • 28
  • 54
user3514095
  • 89
  • 14

2 Answers2

0

set environment variable path like follow....

path =>...;C:\Projects\wamp\php;C:\Projects\wamp\yii\yiiframework;

and also include the YII framework path in your path variable

opensource-developer
  • 2,720
  • 1
  • 30
  • 69
0

change file path, for example :

"%PHP_COMMAND%" == "" set PHP_COMMAND=E:\xampp\php\php.exe
Sjon
  • 4,833
  • 6
  • 26
  • 45