简体   繁体   中英

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

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 ?

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

更改文件路径,例如:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM