Install: yiic won't run. I'm stuck Newbie is stuck....
Posted 26 August 2012 - 06:28 PM
Posted 27 August 2012 - 09:52 AM
None of these ideas have helped yet.
If I could understand what was going on inside the yiic batch file, maybe I could unravel it.
I must have missed a step on the setup:
But, this just doesn't make any sense to me. Here's what's in the file:
if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe
"%PHP_COMMAND%" "%YII_PATH%yiic" %*
What is YII_PATH being set to with "%~dp0"
The condition "%PHP_COMMAND%" is probably returning false, so the command doesn't execute. Why?
Posted 27 August 2012 - 10:06 AM
So, basically, all this batch file does is to start php.exe and then run yiic.
I'm wondering....maybe the batch file doesn't know that it should run yiic.php instead of yiic.bat...
I changed the yii.bat file to specify what php is supposed to run, like this:
IT WORKED! I have YII!