CodeIgniter Forums
[split] PHP 7.2 for old site? - 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: [split] PHP 7.2 for old site? (/showthread.php?tid=74937)



[split] PHP 7.2 for old site? - shep - 11-27-2019

hi everyone i have question im not programme savy at all.
I have a website that was coded 2013 in codeigniter in php5.4 i think. My hoster  no longer supports this, is it an easy fix ie to update it to 
php7.2 or is it a case that it needs to be completely  rewritten.... 

Again apologies for the lack of ignorance

shep


RE: [split] PHP 7.2 for old site? - ciadmin - 11-27-2019

You should be able to update your site ti PHP 7.2 without problem.


RE: [split] PHP 7.2 for old site? - shep - 11-27-2019

thank you for the reply ciadmic as i said im not not savvy at this at all, is it a file or do you have to replace parts of the code


RE: [split] PHP 7.2 for old site? - jreklund - 11-28-2019

Usually you switch PHP version inside Cpanel at your webhost provider. You may need to rewrite some part of the code thought and upgrade to the latest version of Codeigniter for full PHP 7.x compatibility.