php.exe is not recognized:create webapp

后端 未结 4 797
孤街浪徒
孤街浪徒 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-12 00:59

    when we are creating webapp in yii framework : Or error ( "php.exe" is not recognized as an internal or external command, operable program or batch file )

    php.exe file path : C:\xampp\php\php.exe

    yiic.bat File path : C:\xampp\htdocs\YiiMain(foldername)\framework\yiic.bat

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

提交回复
热议问题