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,667
  • 3
  • 29
  • 54
user3514095
  • 89
  • 1
  • 15

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,826
  • 4
  • 38
  • 88
0

change file path, for example :

"%PHP_COMMAND%" == "" set PHP_COMMAND=E:\xampp\php\php.exe
Sjon
  • 4,989
  • 6
  • 28
  • 46