upgrading to 1.0.6


I have an installation of 1.0.5… how do I upgrade it to 1.0.6 without overwriting my existing code and configurations ?

Thank you

Easy way: replace the yii directory you installed originally with the directory from the new yii package.

Thank you

The safest way would be to download yii source form google code


svn checkout http://yii.googlecode.com/svn/trunk/ yii-source-1.0.6

and the just change the following lines of code in you index.php file


// change the following paths if necessary




// remove the following line when in production mode

defined('YII_DEBUG') or define('YII_DEBUG',true);




so you can easily switch back to the previous release if something goes wrong  ;)

That line would give you the 'bleeding edge' code which might contain errors (probably code that won't be included till version 1.1)

If you want version 1.0.6 from the subversion you could get it like this:

svn checkout http://yii.googlecod…/svn/tags/1.0.6

But unless you know what you are doing (or willing to experiment), I'd strongly suggest downloading the .zip file.