Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>It's always better to follow yii official documentation. You can find Installing Yii process step by step here </p> <blockquote> <p>documentation> tutorial > The Yii Blog Tutorial > Testdriving with Yii # Installing Yii</p> </blockquote> <p>here is the link <a href="http://www.yiiframework.com/doc/blog/1.1/en/start.testdrive#installing-yii" rel="nofollow noreferrer">http://www.yiiframework.com/doc/blog/1.1/en/start.testdrive#installing-yii</a></p> <hr> <p>If you getting this kind of error when you try to use <strong>yiic webapp ..\app-name</strong></p> <p><strong>'"php.exe"' is not recognized as an internal or external command, operable program or batch file.</strong></p> <p>Open the <strong>yiic.bat</strong> file under yii framework folder ( <strong>C:\wamp\www\framework</strong> ) and change the bellow line</p> <pre><code>if "%PHP_COMMAND%" == "" set PHP_COMMAND=php.exe </code></pre> <p>to</p> <pre><code>if "%PHP_COMMAND%" == "" set PHP_COMMAND=C:\wamp\bin\php\php5.4.16\php.exe </code></pre> <p><strong>php5.4.16</strong> this might be change accroding to you php version, please check in C:\wamp\bin\php folder before change </p> <p>or else you can set this path variable as Environment Variable <strong>( Control Panel\All Control Panel Items\System > advance system settings > Environment Variable )</strong> what you have to do is add this <strong>C:\wamp\bin\php\php5.4.16\php.exe</strong> with <strong>;</strong> after <strong>path</strong> value like bellow image</p> <p><img src="https://i.stack.imgur.com/8bA82.png" alt="enter image description here"></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload