CodeIgniter Forums
Best way to update - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Best way to update (/showthread.php?tid=24650)



Best way to update - El Forum - 11-16-2009

[eluser]gorfdo[/eluser]
I was wondering about the best way to upgrade a operational site to the latest version. Is there a need to copy the new config directory? I thing the only files that would be steped on with a copy would be in the config directory


Best way to update - El Forum - 11-16-2009

[eluser]Colin Williams[/eluser]
I'd set up a new environment with a stock install of the latest version, and then start moving things over piece by piece, putting out fires along the way


Best way to update - El Forum - 11-16-2009

[eluser]Aken[/eluser]
Typically it should only involve replacing your system folder, and possibly some small code changes. I think most people wouldn't need a full test environment, but if you have a high-traffic site, or some hardcore extended classes, it couldn't hurt.

See the upgrading section of the user guide for specific updates. http://ellislab.com/codeigniter/user-guide/installation/upgrading.html