I'm trying to deploy on a 1&1 shared linux hosting the Zend Skeleton Application that I obtained from github (https://github.com/zendframework/ZendSkeletonApplication) via a SSH connection.
I have those files already in the server, but when doing the installation's last step that's explained in github (php composer.phar install) I get the following error:
X-Powered-By: PHP/4.4.9
Content-type: text/html
<br />
<b>Parse error</b>: syntax error, unexpected '<' in <b>/homepages/45/d*******/htdocs/zend_test/ZendSkeletonApplication/composer.phar</b> on line <b>75</b><br />
I can see that the PHP version that shows there is 4.4.9, but I've set up the server to have php 5 (phpinfo() shows 5.4.7). I've also included an .htaccess file in the root of the installation's folder with the AddType x-mapp-php5 .php instruction, as explained here, but that doesn't seem to do anything.
EDIT: Files structure as requested below:
[root]
[vendor]
[ZF2]
[bin]
[demos]
[library]
[resources]
[vendor]
composer.json
LICENSE.txt
README.md
.gitignore
README.md`