Upgrading Codeigniter App - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Upgrading Codeigniter App (/showthread.php?tid=72053) |
Upgrading Codeigniter App - RmsGreig - 10-30-2018 Hello, looking for some advice please. We took over a codigniter app from another developer, which I believe was last updated in 2015. The client has requested some changes to the app and also for us to look at future proofing it in line with their seperate website. I don't have experience with codeigniter but I see that version 4 is not backwards compatible but that there has been a recent update to version 3 - so my question is am I better to upgrade the existing app to the newest version of 3 or start with a fresh version of 4 and convert? For more information on the project, it is a booking calendar with login facilities. Any advice would be appreciated many thanks RE: Upgrading Codeigniter App - donpwinston - 10-30-2018 It will be a lot of work to convert it to CI4. Converting it to CI3.1.9 should be easy. You can use the latest versions of PHP either way. Unless you need to rewrite most of the app stick with CI3.1.9. RE: Upgrading Codeigniter App - php_rocs - 10-30-2018 @RmsGreig, I agree with @donpwinston. A couple of questions... What version of CI is your code base in? What PHP version? RE: Upgrading Codeigniter App - RmsGreig - 10-31-2018 Thanks for your help, I will have a shot at converting to 3.1.9 RE: Upgrading Codeigniter App - RmsGreig - 10-31-2018 It is currently on php version 5.6 and I'm not sure exactly what verssion the CI code base is, where would I find this? RE: Upgrading Codeigniter App - php_rocs - 10-31-2018 @RmsGreig, Look in the code here ... /system/core/Codeigniter.php Look for a define statement like ... define('CI_VERSION', 'x.xx') |