I want to migrate my site to new server, actually my site is running on apache, but we want to move to nginx, I did a backup of all my site (databases and files) and I did test on the new server following this steps


And I have this problem

09 Apr (05:49:45) | Parse Error: syntax error, unexpected 'new' (T_NEW) on line# 123 (file: /var/www/html/flynaxsite/libs/ajax/xajax_core/plugin_layer/xajaxCallableObjectPlugin.inc.php)

What is the problem?

What is the best way to migrate to another server?