tags:

views:

68

answers:

2

Hi,

I am new to PHP. downloaded "yii-1[1].1.4.r2429.zip" file. and try to create sample application using Yii PHP framework

Extracted yii-1[1].1.4.r2429.zip to this path.

C:\xampp\htdocs\yii on windows

and try to create sample application using this guidelines

http://www.yiiframework.com/doc/guide/quickstart.first-app

Run yiic on the command line as follows:

not working.

Please help

A: 

Double check that you have PHP CLI (command line) installed and added to your Windows path.

Also, make sure you are running yiic.bat - the Windows script. The plain yiic script (no file extension) is a Unix shell script. You want something like this on Win:

YiiRoot/framework/yiic.bat webapp WebRoot/testdrive

If the .bat script doesn't work, call PHP directly to yiic.php, like so:

php path\to\yii\framework\yiic.php webapp path\to\www\ApplicationName
thaddeusmt
A: 

Dear Friend, i shall try to help u.. First of all go to root adn create folder(newfolder) 1)open "CMD".. 2) and cd to path newfolder/php(go to php where you save php.exe(eg,xampp/php/php.exe)) 3)after php (go to path Yii) like "YiiRoot/framework/yiic.php" webapp root/newfolder Simple .. -Bhavik Chauhan.

Bhavik Chauhan