I have a small CakePHP 2.5.2 website running on Apache-backed PHP 5.3.10 on an Ubuntu 12.04 LTS VPS. Everything is actually working quite well and has been stable for the last few years.
However, I’m starting to worry that with Ubuntu 12.04 reaching the end of its support life that I should be thinking about upgrading things. Unfortunately, I have little time to commit to a big upgrade push, so I’m looking for suggestions and advice on what to do.
Would it be worth just starting a new Ubuntu 16.04 LTS VPS and migrating my site code over onto a newer version of Cake and PHP? My gut thinks this could turn into a huge hassle of cascading problems. I could try to upgrade in place with good backups in the event something doesn’t work, but I can see this being equally problematic.
What’s the best upgrade strategy for someone who wants to keep stuff safe but has little time to dedicate to the upgrade process?