Install Yii Framework Ubundu 12.04 Version

Hi,

How to Install Yii Framework Ubundu 12.04 Version? I cant install Yii framework in Ubundu ?

Plz tell me step by step procedure.

Of course, I almost exclusively use Ubuntu. I’d suggest using Composer to install and update Yii. Use a composer.json file something like




{

    "name": "myapp/location",

    "description": "My Yii Framework Application",

    "authors": [

        {

            "name": "Travis Stroud",

            "email": "myemail@mydomain.com"

        }

    ],

    "repositories": [

        {

            "type": "package",

            "package": {

                "version": "3.2.0",

                "name": "twbs/bootstrap",

                "source": {

                    "url": "https://github.com/twbs/bootstrap.git",

                    "type": "git",

                    "reference": "master"

                },

                "dist": {

                    "url": "https://github.com/twbs/bootstrap/zipball/master",

                    "type": "zip"

                }

            }

        }        

    ],

    "minimum-stability": "dev",

    "require": {

        "php": ">=5.3.2",

        "yiisoft/yii": "1.1.*",

        "twbs/bootstrap": "3.2.*"

    }

}



Also included bootstrap in there as example. This will pull in everything to a vendor directory and you can mold your app around that.

/vendor/yiisoft/yii/framework/yiilite.php

/vendor/yiisoft/yii/framework/yii.php

Those would be the location of Yii.