How to setup yiic on WAMP (XP/Vista)

Comparing #2 with #3

Revision #3 was created by krillzip krillzip on Feb 7, 2009, 6:39:23 PM.

Added path to environment variables

Content

This page assumes that you have installed [Wampserver](http://www.wampserver.com/en/ "Download wampserver") on your MS Windows computer. Start with downloading [Yii](http://www.yiiframework.com/download/ "Download Yii") and deploy the framework in your webroot/vhost (`C:\wamp\www\`). Now you have to add the following PATH:s in Windows: "`C:\wamp\bin\php\php5.2.8`" and "`C:\wamp\www\framework`". The former path should lead where your <i>php.exe</i> resides, and the latter where your <i>yiic.bat</i> resides. To do so, go to: `start -> My computer(right click!) -> Advanced Tab -> Environment Variables -> Click Path in System variables -> Edit`

After entering the paths, type `cmd` in your startmenus searchfield, and go to the webroot.

`yiic webapp mywebsite`
[...]