tags:

views:

1449

answers:

4

How do I setup Yii framework in Windows XP ??

Yii framework requires to be setup using command line, which I am not aware of, can you help ??

NTulip how kind of you to give such an awful answer.

Anyways I am getting this message

'php.exe' is not recognized as an internal or external command, operable program or batch file.

+1  A: 

After you download YII, open the framework folder and run your commands through the yiic.bat file which works on windows.

Also take a look at the README file in the download. It shows you line by line how to do it on windows.

Are you saying you never used command line before? If that's true then you need to do some research on using the windows command line interface available through Start menu -> Run -> type cmd -> click Ok

NTulip
+3  A: 

'php.exe' is not recognized as an internal or external command, operable program or batch file.

You need to make sure that PHP is in your windows PATH setting. See the PHP Manual for instructions. Once you've done that you should find that you can follow the Yii Manual normally.

scythe
+2  A: 

I found this on the yiiframwork website. Check out this tutorial on how to install Yii framwork on Windows based Machines How to setup yiic on WAMP (XP/Vista)

Roland
the one in the cookbook is right. you need to edit the environment variables in mycomputer properties. thanks Roland! :)
bgreen1989
A: 

Theres is ready-to-use virtual machine image for VMWare Player. From my pov it's best way to use AMP on windows

Alexander Hramov