This is documentation for Kohana v2.3.x.
Status | Proof |
---|---|
Todo | expand |
These instructions assume that you have not edited your system folder in any way. If you have then you will need to apply your changes again after upgrading if you use this method.
system
folder.system
folder from the version you wish to upgrade to.Some find it valuable to upgrade side-by-side instead of replacing the system directory completely. This allows for easy downgrading should anything break due to the changes in the new version. In order for this to work, it is suggested that you move your application directory. Your directory structure might look something like this (assume we are starting at your website's root directory, not the web root):
From this setup, you are able to simply extract the new version of Kohana in your domain's root directory and then make a change to your index.php to target the new version. If anything goes wrong simply change the $kohana_system variable back to the old version.
$kohana_application = '../application'; $kohana_modules = '../modules'; $kohana_system = '../Kohana-new.version.number/system';