Deploying to another Server using Duplicator showing error after running installer.php

I'm deploying from our test server to another server using Duplicator plugin,but after creating database and ftp upload the instaler.php and the zipped archive the ran the installer.php on the new site ( it throws thsi error;

Parse error: syntax error, unexpected 'endif' (T_ENDIF) in /home/project3/public_html/installer.php on line 12

How can you aid me resolve this?

Deploying from: to now typing shows index of archive and installer.php

What can I do please to successfully deploy the site?