I copied all files over and changed the config.php to reflect new database.
I can log in fine as a normal user and everthing seems to work well. The problem is when i try to log in as admin I get the following error:
Fatal error: Call to undefined function hash() in /myserverpath/httpdocs/library/XenForo/Authentication/Core.php on line 57
Thanks for your help in advance.