Friday 4 May 2012

How to install Yii in wamp?

Guys

Follow the following steps for installation:

* goto “My Computer”

* Right Click and select Properties

* You will see “System Properties” window

* Select “Advanced”tab

* In “Advanced” tab, click on “Environment Variables”

* Select “Path” in “System Variables” section

* Click on “Edit”  “Path” in “System Variables” section

* “Edit System Varibale” window will appear with “Variable name” and “Variable value” fields

* Enter “D:\wamp\bin\php\php5 at the end without double quotes.

* Click on OK

* Open dos prompt

* D:\>cd wamp\www

* D:\wamp\www>mkdir myproject

* Download yii framework and put it into www directory

* D:\wamp\www>cd yii\framework

* D:\wamp\www\yii\framework> yiic webapp D:\wamp\www\myproject
Create a Web application under ‘D:\wamp\www\myproject’? [Yes|No] y


Your application has been created successfully under C:\wamp\www\myYii.

Thats all. now You are ready to use your application by accessing the URL : http://localhost/myproject/

Cheers!

3 comments:

  1. Nice tutorial on Yii. It is great to see someone publishing quality content on the framework. We have been working on an open source CRM application that is written in PHP utilizing JQuery, Yii, and RedBeanPHP and relies heavily on test driven development.

    Zurmo might be one of the most complex projects on Yii to date. Right now, we have 1000+ unit tests running across eight server configurations. We utilize selenium as well for a nice set of functional tests too. It would be incredibly helpful to get your technical feedback and recommendations so that we can improve the application. Take a look and let me know what you think: http://zurmo.org

    ReplyDelete
  2. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging.You’ve mentioned steps which can be easily understood. Just like any other good PHP framework, Yii assists you to develop cutting-edge web applications promptly, and vouch you for better performance. It makes your development job easy by creating secure and testable sites by automating almost all development jobs for you.Please check out Yiioverflow to know more.

    ReplyDelete
  3. Really awesome blog. Your blog is really useful for me. Thanks for sharing this informative blog. Keep update your blog.
    Remote Yii Framework Developers in India

    ReplyDelete