在centos 5上进行干净安装后,Composer无法正常工作

We've been working with our hoster to install composer on a centos 5 with php 5.3.9, and though we get no installation errors, running composer with any command always gives us the following:

-bash-3.2$ composer help install

??+?-bash-3.2$ 

always this funny ??+? response.

This also happen when I download a composer.phar manually, and if I run composer.phar over php. Always the same issue. The provider technicians tried to install it with admin privileges and they also get this error. any ideas?

I fixed the problem by running:

curl -s https://getcomposer.org/installer | php -- --check

It gave me some php.ini settings I needed.

Then I ran composer using:

php -c pathToPhp.ini pathToComposer.phar