|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
knindza Smarty n00b
Joined: 30 Mar 2012 Posts: 4
|
Posted: Tue May 28, 2013 8:36 am Post subject: Migrating Smarty from PHP4 to PHP5.4 version |
|
|
Hi,
I just received an email that my server does not support php version 4 any more, and I need to migrate website to php version 5.4.
Did anyone do this, is there a script to do this, and is there a lot of code to be changed if done manually.
Many thanks |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Tue May 28, 2013 2:17 pm Post subject: |
|
|
Smarty should be compatible with PHP 5 unless you have a *very* old version of Smarty. |
|
Back to top |
|
knindza Smarty n00b
Joined: 30 Mar 2012 Posts: 4
|
Posted: Tue May 28, 2013 2:34 pm Post subject: Smarty version 2.6.26 |
|
|
Hi,
I am using smarty version 2.6.26.
Do I need to upgrade this, and what is process to upgrade to latest version. Will I need to change a code.
Thanks |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Tue May 28, 2013 6:05 pm Post subject: |
|
|
That should be fine for PHP 5. |
|
Back to top |
|
knindza Smarty n00b
Joined: 30 Mar 2012 Posts: 4
|
Posted: Wed May 29, 2013 8:15 am Post subject: |
|
|
Thanks Mohart,
This is what hosting company emailed me with
"As this might affect your systems that are currently running on PHP 4, please check your systems as soon as possible."
This is why I am confused. |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Wed May 29, 2013 1:21 pm Post subject: |
|
|
Smarty should be fine, I have no idea what the rest of your code base looks like. It is your (or your developers) responsibility to be sure your code is compatible with PHP5. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|