php.exe is not recognized:create webapp

后端 未结 4 818
孤街浪徒
孤街浪徒 2021-01-12 00:16

I am toying with my new install of yii framework, and trying to compile my first webapp through the command line. when I run yiic webapp ../testdrive i receive

4条回答
  •  遥遥无期
    2021-01-12 01:02

    Simply use the path of the php.exe before the yiic to execute the php script in windows environment.

    your command will look something like this:

    c:/xampp/php/php.exe path/yiic webapp application_name

提交回复
热议问题