Upgrading from PHP 4 TO PHP 5

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dhana
Forum Newbie
Posts: 1
Joined: Tue Mar 01, 2011 8:29 pm

Upgrading from PHP 4 TO PHP 5

Post 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.
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Upgrading from PHP 4 TO PHP 5

Post by Eran »

http://php.net/manual/en/migration5.php
First result on Google for "migrating from php4 to php5"
Post Reply