The PHP framework YII framework uses the YIIC command to prompt that "php.exe" is not an internal or external command, YIIYIIC
Solution Solutions
Yii/framework/yiic.bat, modify
If "%php_command%" = = "" Set Php_command=php.exe
If "%php_command%" = = "" Set php_command=D:\wamp\php\php.exe
Turn off the DOS window and hit input Yiic webapp XX
"Phpexe" is not an internal or external command when using the YIIC command with the PHP Framework YII framework, and is not how to solve it?
It is this: the reason is that Yii comes with the yiic.bat can not find Php.exe.
Workaround: Open Yii/framework/yiic.bat with notepad++, modify
If "%php_command%" = = "" Set Php_command=php.exe
→→→if "%php_command%" = = "" Set Php_command=d:\wamp\php\php.exe
My fix is to change to
If "%php_command%" = = "" Set Php_command=c:\wamp\bin\php\php5.4.3\php.exe
PHP yii Framework
Enter
My Computer-Properties-advanced-environment variables
Set path to add the path to your php.exe.
http://www.bkjia.com/PHPjc/844683.html www.bkjia.com true http://www.bkjia.com/PHPjc/844683.html techarticle PHP Frame YII Framework uses the YIIC command to Prompt "Php.exe" is not an internal or external command, YIIYIIC solution Yii/framework/yiic.bat, modify if "%php_command%" = = "" Set Php_command ...