Search code examples
phpyiixamppcommand-promptsystem-variable

Yii new project cmd


I have been using xampp server. I'm trying to make a new project. I have been giving a command,

C:\xampp\htdocs\yii\framework\yiic

It says,

php.exe is not recognized as an internal or external command, operable program or batch file.

I have also set the system variable, path as

C:\xampp\htdocs\yii\framework\yiic

. Whats the problem here?


Solution

  • You need to set the path to php also

    check this