Page 1 of 1

Upgrading from PHP 4 TO PHP 5

Posted: Tue Mar 01, 2011 8:53 pm
by dhana
I have a PHP 4 project that uses smarty 2.6.22. Site does not work in PHP 5. I need to upgrade to PHP 5.

What needs to be changed in PHP files for upgrading to PHP 5 and PHP 5.x.x . The php files mostly contain $_REQUEST,$smarty->assign,$smarty->fetch etc...

Does replacing smarty 3.0 will make the site work?

Please advice me.

Re: Upgrading from PHP 4 TO PHP 5

Posted: Tue Mar 01, 2011 8:58 pm
by Eran
http://php.net/manual/en/migration5.php
First result on Google for "migrating from php4 to php5"